:root{--twpsh-bg:#f5f6f8;--twpsh-card:#fff;--twpsh-text:#111318;--twpsh-muted:#737780;--twpsh-line:#e8eaee;--twpsh-accent:#ff5a1f;--twpsh-dark:#111318;--twpsh-radius:22px;--twpsh-shadow:0 16px 48px rgba(17,19,24,.08)}
html.twpsh-lock,html.twpsh-lock body{overflow:hidden}.twpsh-shell{background:var(--twpsh-bg);color:var(--twpsh-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Noto Sans TC",Arial,sans-serif;padding-bottom:34px;line-height:1.4}.twpsh-shell *{box-sizing:border-box}.twpsh-shell a{-webkit-tap-highlight-color:transparent}.twpsh-wrap{width:min(1280px,calc(100% - 36px));margin-left:auto;margin-right:auto}.twpsh-topbar{background:#101216;color:#fff;font-size:12px}.twpsh-topbar-inner{height:35px;display:flex;align-items:center;justify-content:space-between}.twpsh-topbar a{color:#fff!important;margin-left:20px;text-decoration:none!important;opacity:.78}.twpsh-header{background:rgba(255,255,255,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);position:sticky;top:0;z-index:80;border-bottom:1px solid rgba(0,0,0,.055)}.admin-bar .twpsh-header{top:32px}.twpsh-header-inner{height:80px;display:grid;grid-template-columns:minmax(180px,250px) minmax(300px,1fr) auto;gap:28px;align-items:center}.twpsh-logo{display:flex;align-items:center;gap:12px;color:#111!important;text-decoration:none!important;font-weight:900;letter-spacing:.02em;min-width:0}.twpsh-logo img{display:block;max-width:210px;max-height:52px;width:auto;height:auto;object-fit:contain}.twpsh-logo strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.twpsh-logo-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#111;color:#fff;border-radius:13px;font-size:13px}.twpsh-search{height:48px;border:1.5px solid #dfe2e7;background:#f7f8fa;border-radius:14px;padding:4px;display:flex;margin:0!important}.twpsh-search:focus-within{border-color:#aeb3bc;background:#fff;box-shadow:0 0 0 3px rgba(17,19,24,.04)}.twpsh-search input[type=search]{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 14px!important;margin:0!important;font-size:14px!important;outline:none!important;height:auto!important}.twpsh-search button{border:0!important;background:#111!important;color:#fff!important;border-radius:10px!important;padding:0 24px!important;min-height:38px!important;font-weight:800!important;cursor:pointer!important}.twpsh-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px;white-space:nowrap}.twpsh-header-actions a{color:#202228!important;text-decoration:none!important;font-size:13px;font-weight:750}.twpsh-cart-link{display:flex!important;align-items:center;gap:7px}.twpsh-cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;background:#111;color:#fff;border-radius:99px;font-size:10px;font-style:normal;line-height:1}
.twpsh-hero{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,.58fr);gap:16px;padding-top:18px}.twpsh-slider{height:500px;position:relative;border-radius:28px;overflow:hidden;background:#151820;box-shadow:var(--twpsh-shadow)}.twpsh-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.015);transition:opacity .55s ease,transform .75s ease,visibility .55s;background:radial-gradient(circle at 80% 20%,#3b414f 0,transparent 28%),linear-gradient(135deg,#101216,#292e39)}.twpsh-slide-media{position:absolute;inset:0;z-index:0;overflow:hidden}.twpsh-slide-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,14,.86) 0%,rgba(8,10,14,.64) 46%,rgba(8,10,14,.12) 100%)}.twpsh-slide-img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}.twpsh-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}.twpsh-slide-content{position:absolute;left:0;top:0;bottom:0;width:min(700px,72%);padding:64px 62px;display:flex;flex-direction:column;justify-content:center;color:#fff;z-index:2}.twpsh-slide-content>span,.twpsh-section-head>div>span,.twpsh-promo>div>span{font-size:10px;letter-spacing:.2em;font-weight:900;opacity:.65}.twpsh-slide h1,.twpsh-slide h2{font-size:clamp(42px,5.2vw,72px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:16px 0 20px!important;color:#fff!important;font-weight:900!important}.twpsh-slide p{font-size:15px;line-height:1.85;max-width:590px;margin:0 0 30px;color:#d7dbe2}.twpsh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:12px;text-decoration:none!important;font-weight:850;font-size:13px;width:max-content;transition:.2s}.twpsh-btn:hover{transform:translateY(-1px)}.twpsh-btn-primary{background:#fff;color:#111!important}.twpsh-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:40px;border:1px solid rgba(255,255,255,.18)!important;border-radius:50%!important;background:rgba(8,10,13,.38)!important;color:#fff!important;display:grid!important;place-items:center;font-size:27px!important;padding:0!important;opacity:0;transition:.2s;cursor:pointer}.twpsh-slider:hover .twpsh-slider-arrow{opacity:1}.twpsh-slider-arrow.prev{left:16px}.twpsh-slider-arrow.next{right:16px}.twpsh-dots{position:absolute;left:62px;bottom:28px;display:flex;gap:7px;z-index:5}.twpsh-dots button{width:24px;height:4px;border:0!important;border-radius:99px!important;background:rgba(255,255,255,.28)!important;padding:0!important;min-height:0!important}.twpsh-dots button.is-active{background:#fff!important;width:42px}.twpsh-hero-side{display:grid;grid-template-rows:1fr 1fr;gap:16px}.twpsh-mini-card{border-radius:24px;padding:28px;background:#fff;color:#111!important;box-shadow:var(--twpsh-shadow);display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none!important;overflow:hidden;position:relative;min-height:0}.twpsh-mini-card:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-55px;top:-55px;border:1px solid rgba(0,0,0,.07);box-shadow:0 0 0 30px rgba(0,0,0,.025)}.twpsh-mini-card span{font-size:11px;color:var(--twpsh-muted);position:relative}.twpsh-mini-card strong{font-size:25px;line-height:1.15;margin:8px 0 9px;position:relative}.twpsh-mini-card small{font-size:11px;line-height:1.6;color:var(--twpsh-muted);position:relative}.twpsh-mini-dark{background:linear-gradient(145deg,#ff6d32,#ff4e14);color:#fff!important}.twpsh-mini-dark:before{border-color:rgba(255,255,255,.18);box-shadow:0 0 0 30px rgba(255,255,255,.045)}.twpsh-mini-dark span,.twpsh-mini-dark small{color:rgba(255,255,255,.78)}
.twpsh-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.twpsh-benefits>div{background:#fff;border:1px solid var(--twpsh-line);border-radius:17px;padding:18px;display:flex;align-items:center;gap:14px;min-width:0}.twpsh-benefits b{font-size:21px;flex:0 0 auto}.twpsh-benefits span{min-width:0}.twpsh-benefits strong,.twpsh-benefits small{display:block}.twpsh-benefits strong{font-size:13px}.twpsh-benefits small{font-size:10px;color:var(--twpsh-muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.twpsh-panel{background:#fff;border:1px solid var(--twpsh-line);border-radius:24px;padding:27px;margin-top:14px;box-shadow:0 7px 28px rgba(17,19,24,.028)}.twpsh-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:21px}.twpsh-section-head h2{font-size:25px!important;line-height:1.15!important;margin:4px 0 0!important;color:#17191e!important;font-weight:850!important;letter-spacing:-.02em!important}.twpsh-section-head>a{color:#30333a!important;text-decoration:none!important;font-size:12px;font-weight:800;white-space:nowrap}.twpsh-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.twpsh-cat{display:block;text-decoration:none!important;color:#24272d!important;text-align:center;font-size:12px;font-weight:760;min-width:0}.twpsh-cat-img{display:block;aspect-ratio:1;border-radius:17px;overflow:hidden;background:#f2f3f5;margin-bottom:9px;border:1px solid #f0f1f3}.twpsh-cat-img img{display:block;width:100%!important;height:100%!important;object-fit:cover;transition:.3s;margin:0!important}.twpsh-cat:hover .twpsh-cat-img img{transform:scale(1.055)}.twpsh-cat-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.twpsh-cat small{display:block;margin-top:3px;color:#9a9da4;font-size:9px;font-weight:500}.twpsh-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.twpsh-product-card{border:1px solid var(--twpsh-line);background:#fff;border-radius:18px;overflow:hidden;transition:.22s;min-width:0}.twpsh-product-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(17,19,24,.075)}.twpsh-product-image{display:block;aspect-ratio:1;position:relative;background:#f4f5f7;overflow:hidden;text-decoration:none!important}.twpsh-product-image img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0!important;transition:.3s}.twpsh-product-card:hover .twpsh-product-image img{transform:scale(1.03)}.twpsh-product-badge,.twpsh-discount{position:absolute;top:11px;z-index:3;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:900;line-height:1.3}.twpsh-product-badge{left:11px;background:#111;color:#fff}.twpsh-discount{right:11px;background:#fff0eb;color:#e74612}.twpsh-product-info{padding:13px 14px 14px}.twpsh-product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#25282e!important;text-decoration:none!important;min-height:40px;font-size:13px;line-height:1.55;font-weight:700}.twpsh-product-submeta{display:flex;align-items:center;gap:9px;min-height:20px;margin-top:4px;color:#999ca3;font-size:9px}.twpsh-rating{color:#a56f06}.twpsh-product-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:6px}.twpsh-price{font-size:18px;font-weight:900;color:#f04c1e;min-width:0;line-height:1.2}.twpsh-price del{font-size:10px;color:#a0a2a7;font-weight:500;margin-right:2px}.twpsh-price ins{text-decoration:none!important}.twpsh-cart-btn{flex:0 0 34px!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:50%!important;background:#111!important;color:#fff!important;display:grid!important;place-items:center!important;text-decoration:none!important;border:0!important;font-size:20px!important;line-height:1!important;font-weight:400!important}.twpsh-cart-btn.loading{opacity:.55}.twpsh-cart-btn.added:after{content:"✓";font-size:13px}.twpsh-cart-btn.added{font-size:0!important}.twpsh-select-btn{font-size:25px!important}.twpsh-sale-clock{display:flex;align-items:center;gap:9px}.twpsh-sale-clock span{font-size:10px;color:#888c93}.twpsh-sale-clock strong{background:#111;color:#fff;border-radius:8px;padding:6px 8px;font-size:11px;letter-spacing:.06em}.twpsh-promo{min-height:210px;margin-top:14px;border-radius:24px;padding:34px 38px;background:linear-gradient(135deg,#16191f,#303641);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--twpsh-shadow);overflow:hidden;position:relative}.twpsh-promo-media{position:absolute;inset:0;z-index:0}.twpsh-promo-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,15,19,.92),rgba(13,15,19,.45))}.twpsh-promo-img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}.twpsh-promo-copy,.twpsh-promo>.twpsh-btn{position:relative;z-index:2}.twpsh-promo h2{font-size:30px!important;margin:7px 0!important;color:#fff!important;font-weight:900!important}.twpsh-promo p{margin:0;color:#cfd2d9;font-size:13px}.twpsh-btn-light{background:#fff;color:#111!important}.twpsh-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.twpsh-trust>div{background:#15171c;color:#fff;padding:25px;border-radius:20px;min-height:178px}.twpsh-trust span{font-size:10px;opacity:.36}.twpsh-trust h3{font-size:19px!important;color:#fff!important;margin:25px 0 7px!important}.twpsh-trust p{font-size:11px;line-height:1.7;color:#b8bcc4;margin:0}.twpsh-line-float{position:fixed;right:18px;bottom:24px;z-index:90;width:60px;height:60px;border-radius:50%;background:#06c755;color:#fff!important;text-decoration:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.17);font-weight:900}.twpsh-line-float span{font-size:11px}.twpsh-line-float small{font-size:8px;font-weight:600;opacity:.85;margin-top:2px}.twpsh-mobile-nav{display:none}.twpsh-empty,.twpsh-notice{padding:28px;text-align:center;color:var(--twpsh-muted);background:#f7f8fa;border-radius:15px;font-size:12px}.twpsh-agegate{position:fixed;inset:0;z-index:999999;background:rgba(7,8,10,.93);backdrop-filter:blur(14px);display:grid;place-items:center;padding:20px}.twpsh-age-card{width:min(430px,100%);background:#fff;border-radius:24px;padding:36px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.3)}.twpsh-age-mark{width:54px;height:54px;border-radius:16px;background:#111;color:#fff;display:grid;place-items:center;margin:0 auto 18px;font-weight:900}.twpsh-age-card h2{font-size:26px!important;margin:0 0 10px!important}.twpsh-age-card p{color:#747880;line-height:1.7;font-size:13px;margin:0 0 20px}.twpsh-age-confirm{width:100%;min-height:48px;border:0!important;background:#111!important;color:#fff!important;border-radius:12px!important;font-weight:800!important}.twpsh-age-card>a{display:block;margin-top:14px;color:#8a8e95!important;font-size:11px;text-decoration:none!important}
@media(max-width:1050px){.twpsh-header-inner{grid-template-columns:200px 1fr auto;gap:15px}.twpsh-hero{grid-template-columns:1fr}.twpsh-hero-side{grid-template-columns:1fr 1fr;grid-template-rows:none}.twpsh-mini-card{min-height:170px}.twpsh-benefits,.twpsh-trust{grid-template-columns:repeat(2,1fr)}.twpsh-cats{grid-template-columns:repeat(6,1fr)}.twpsh-product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.admin-bar .twpsh-header{top:46px}}
@media(max-width:760px){.twpsh-shell{padding-bottom:80px}.twpsh-wrap{width:calc(100% - 20px)}.twpsh-topbar-inner{height:30px;font-size:9px;justify-content:center}.twpsh-topbar-inner>div{display:none}.twpsh-header{position:relative;top:auto!important}.twpsh-header-inner{height:auto;grid-template-columns:1fr;padding:11px 0;gap:9px}.twpsh-logo{justify-content:center;min-height:38px}.twpsh-logo img{max-width:170px;max-height:42px}.twpsh-logo-mark{width:35px;height:35px;flex-basis:35px}.twpsh-header-actions{display:none}.twpsh-search{height:44px}.twpsh-search button{padding:0 18px!important}.twpsh-hero{padding-top:10px;gap:9px}.twpsh-slider{height:430px;border-radius:20px}.twpsh-slide{background-position:center}.twpsh-slide-content{width:100%;padding:34px 25px;justify-content:flex-end;padding-bottom:70px}.twpsh-slide h1,.twpsh-slide h2{font-size:39px!important;max-width:360px}.twpsh-slide p{font-size:12px;line-height:1.7;max-width:360px}.twpsh-slider-arrow{display:none!important}.twpsh-dots{left:25px;bottom:27px}.twpsh-hero-side{grid-template-columns:1fr 1fr;gap:9px}.twpsh-mini-card{min-height:145px;padding:18px;border-radius:18px}.twpsh-mini-card strong{font-size:18px}.twpsh-mini-card small{font-size:9px}.twpsh-benefits{grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.twpsh-benefits>div{padding:13px 11px;border-radius:14px;gap:9px}.twpsh-benefits b{font-size:18px}.twpsh-benefits strong{font-size:11px}.twpsh-benefits small{display:none}.twpsh-panel{padding:17px 12px;border-radius:18px;margin-top:9px}.twpsh-section-head{margin-bottom:15px;align-items:center}.twpsh-section-head h2{font-size:20px!important}.twpsh-section-head>a{font-size:10px}.twpsh-cats{grid-template-columns:repeat(4,1fr);gap:8px}.twpsh-cat{font-size:10px}.twpsh-cat-img{border-radius:12px;margin-bottom:6px}.twpsh-cat small{display:none}.twpsh-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.twpsh-product-card{border-radius:14px}.twpsh-product-info{padding:10px}.twpsh-product-title{font-size:12px;min-height:37px}.twpsh-product-submeta{gap:5px}.twpsh-price{font-size:15px}.twpsh-price del{display:block;font-size:8px}.twpsh-cart-btn{width:30px!important;height:30px!important;min-height:30px!important;flex-basis:30px!important}.twpsh-sale-clock span{display:none}.twpsh-sale-clock strong{font-size:9px}.twpsh-promo{min-height:190px;margin-top:9px;border-radius:18px;padding:24px 20px;display:block;background-position:center}.twpsh-promo h2{font-size:23px!important}.twpsh-promo p{font-size:11px;line-height:1.6}.twpsh-promo .twpsh-btn{margin-top:18px}.twpsh-trust{grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.twpsh-trust>div{padding:18px;min-height:145px;border-radius:16px}.twpsh-trust h3{font-size:16px!important;margin-top:18px!important}.twpsh-trust p{font-size:9px}.twpsh-mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-top:1px solid var(--twpsh-line);padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.twpsh-mobile-nav a{position:relative;text-decoration:none!important;color:#6e7279!important;text-align:center;font-size:9px}.twpsh-mobile-nav a.is-active{color:#111!important}.twpsh-mobile-nav b,.twpsh-mobile-nav span{display:block}.twpsh-mobile-nav b{font-size:17px;margin-bottom:2px}.twpsh-mobile-nav em{position:absolute;top:-3px;left:calc(50% + 7px);min-width:16px;height:16px;font-size:8px}.twpsh-line-float{right:13px;bottom:76px;width:52px;height:52px}.twpsh-age-card{padding:28px 22px;border-radius:20px}}
.twpsh-search{position:relative}.twpsh-search-results{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:200;background:#fff;border:1px solid var(--twpsh-line);border-radius:15px;box-shadow:0 18px 50px rgba(17,19,24,.14);padding:6px;max-height:440px;overflow:auto}.twpsh-search-results.is-open{display:block}.twpsh-search-item{display:flex;align-items:center;gap:11px;padding:8px;border-radius:11px;text-decoration:none!important;color:#222!important}.twpsh-search-item:hover{background:#f5f6f8}.twpsh-search-item img{width:48px!important;height:48px!important;object-fit:cover;border-radius:9px;margin:0!important;flex:0 0 48px}.twpsh-search-item span{min-width:0}.twpsh-search-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.twpsh-search-item small{display:block;margin-top:4px;font-size:11px;color:#ef4e22;font-weight:800}.twpsh-search-item small del{font-size:9px;color:#999}.twpsh-search-none{padding:20px;text-align:center;color:#8a8e96;font-size:11px}

.twpsh-hide-theme-title .entry-header,.twpsh-hide-theme-title h1.entry-title,.twpsh-hide-theme-title .page-title{display:none!important}.twpsh-seo-content{margin-top:14px;background:#fff;border:1px solid var(--twpsh-line);border-radius:24px;padding:30px 34px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.twpsh-seo-content>div{max-width:900px}.twpsh-seo-content>div>span{font-size:10px;letter-spacing:.18em;font-weight:900;color:#8a8e96}.twpsh-seo-content h2{font-size:25px!important;margin:7px 0 10px!important;color:#17191e!important}.twpsh-seo-content p{margin:0!important;color:#6f747d!important;font-size:12px!important;line-height:1.9!important}.twpsh-seo-content>a{white-space:nowrap;color:#1f2228!important;text-decoration:none!important;font-size:12px;font-weight:800}.twpsh-html-sitemap{width:min(1180px,calc(100% - 36px));margin:40px auto;padding:30px;background:#fff;border:1px solid #e8eaee;border-radius:22px}.twpsh-html-sitemap h1{font-size:34px!important;margin:0 0 24px!important}.twpsh-html-sitemap section+section{margin-top:28px}.twpsh-html-sitemap h2{font-size:22px!important;margin:0 0 14px!important}.twpsh-html-sitemap ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;margin:0!important;padding-left:20px!important}.twpsh-html-sitemap a{color:#23262c!important;text-decoration:none!important}.twpsh-html-sitemap a:hover{text-decoration:underline!important}@media(max-width:760px){.twpsh-seo-content{margin-top:9px;padding:20px;border-radius:18px;display:block}.twpsh-seo-content h2{font-size:21px!important}.twpsh-seo-content>a{display:inline-block;margin-top:15px}.twpsh-html-sitemap{width:calc(100% - 20px);margin:20px auto;padding:20px;border-radius:18px}.twpsh-html-sitemap ul{grid-template-columns:1fr 1fr;gap:7px 14px}}

/* =========================================================
   v2.2.0 — WoodMart EDC Unified Skin
   Bright marketplace layout: white / warm orange / soft gray
   ========================================================= */
:root{
  --twpsh-bg:#f6f6f6;
  --twpsh-card:#ffffff;
  --twpsh-text:#222222;
  --twpsh-muted:#777777;
  --twpsh-line:#eeeeee;
  --twpsh-accent:#ff5a00;
  --twpsh-accent-2:#ff7a18;
  --twpsh-accent-soft:#fff2ea;
  --twpsh-dark:#202124;
  --twpsh-radius:14px;
  --twpsh-shadow:0 8px 24px rgba(20,20,20,.055)
}
.twpsh-home-active .main-page-wrapper{padding-top:0!important}
.twpsh-home-active .main-page-wrapper>.container{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
.twpsh-home-active .site-content{padding-left:0!important;padding-right:0!important;margin-bottom:0!important}
.twpsh-shell{background:var(--twpsh-bg);padding-bottom:42px;color:var(--twpsh-text)}
.twpsh-wrap{width:min(1240px,calc(100% - 32px))}

/* Standalone header fallback; WoodMart mode uses the EDC theme header itself. */
.twpsh-topbar{background:#f7f7f7;color:#666;border-bottom:1px solid #eee}
.twpsh-topbar a{color:#666!important}
.twpsh-header{background:#fff;border-bottom:1px solid #eee;box-shadow:none}
.twpsh-header-inner{height:76px;grid-template-columns:minmax(180px,230px) minmax(320px,1fr) auto;gap:24px}
.twpsh-logo-mark{background:linear-gradient(135deg,var(--twpsh-accent),var(--twpsh-accent-2));border-radius:10px}
.twpsh-search{height:46px;border:2px solid var(--twpsh-accent);background:#fff;border-radius:8px;padding:2px}
.twpsh-search:focus-within{border-color:var(--twpsh-accent);box-shadow:0 0 0 3px rgba(255,90,0,.09)}
.twpsh-search button{background:linear-gradient(135deg,var(--twpsh-accent),var(--twpsh-accent-2))!important;border-radius:6px!important;min-height:38px!important;padding:0 25px!important}
.twpsh-cart-count{background:var(--twpsh-accent)}

/* EDC-like category navigation under the theme header. */
.twpsh-market-nav{height:50px;display:flex;align-items:center;gap:0;background:#fff;border:1px solid #ececec;border-radius:0 0 10px 10px;overflow:hidden;margin-top:0;box-shadow:0 2px 10px rgba(0,0,0,.025)}
.twpsh-market-nav a{text-decoration:none!important;color:#333!important;font-size:12px;font-weight:700;white-space:nowrap}
.twpsh-all-cats{align-self:stretch;display:flex;align-items:center;gap:9px;padding:0 22px;background:var(--twpsh-accent)!important;color:#fff!important;min-width:170px}
.twpsh-all-cats span{font-size:17px;line-height:1}
.twpsh-market-links{display:flex;align-items:center;gap:27px;padding:0 24px;min-width:0;overflow:hidden;flex:1}
.twpsh-market-links a:hover{color:var(--twpsh-accent)!important}
.twpsh-market-sale{padding:0 22px;color:var(--twpsh-accent)!important}

/* Hero: warm orange EDC visual system. */
.twpsh-hero{display:block;padding-top:14px}
.twpsh-slider{height:425px;border-radius:14px;background:linear-gradient(115deg,#ff4f00 0%,#ff6710 43%,#ff8a1f 100%);box-shadow:none}
.twpsh-slide{background:
  radial-gradient(circle at 78% 16%,rgba(255,255,255,.20),transparent 28%),
  radial-gradient(circle at 92% 86%,rgba(255,215,160,.32),transparent 25%),
  linear-gradient(115deg,#ff4e00 0%,#ff6710 46%,#ff8b22 100%)}
.twpsh-slide-media:after{background:linear-gradient(90deg,rgba(242,72,0,.94) 0%,rgba(247,83,0,.82) 40%,rgba(255,117,18,.25) 72%,rgba(255,117,18,.04) 100%)}
.twpsh-slide-content{width:min(640px,60%);padding:52px 56px}
.twpsh-slide-content>span{opacity:.9;font-size:10px;letter-spacing:.16em}
.twpsh-slide h1,.twpsh-slide h2{font-size:clamp(38px,4.3vw,58px)!important;line-height:1.04!important;letter-spacing:-.035em!important;margin:12px 0 15px!important}
.twpsh-slide p{font-size:14px;line-height:1.75;color:rgba(255,255,255,.88);max-width:530px;margin-bottom:24px}
.twpsh-btn{border-radius:7px;min-height:42px;font-size:12px;padding:0 20px}
.twpsh-btn-primary{background:#fff;color:#f04d00!important;box-shadow:0 6px 18px rgba(120,36,0,.12)}
.twpsh-slider-arrow{width:36px;height:36px;background:rgba(255,255,255,.92)!important;border:0!important;color:#f05200!important;font-size:23px!important;box-shadow:0 4px 14px rgba(100,25,0,.15)}
.twpsh-dots{left:56px;bottom:23px}
.twpsh-dots button{background:rgba(255,255,255,.42)!important;height:3px}
.twpsh-dots button.is-active{background:#fff!important}

/* Quick marketplace shortcuts */
.twpsh-quick-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.twpsh-quick-strip>a{min-height:74px;padding:13px 16px;background:#fff;border:1px solid var(--twpsh-line);border-radius:10px;display:flex;align-items:center;gap:12px;color:#2b2b2b!important;text-decoration:none!important;transition:.18s}
.twpsh-quick-strip>a:hover{border-color:#ffd3bd;box-shadow:0 7px 20px rgba(255,90,0,.07);transform:translateY(-1px)}
.twpsh-quick-strip b{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--twpsh-accent-soft);font-size:18px;flex:0 0 40px}
.twpsh-quick-strip strong,.twpsh-quick-strip small{display:block}
.twpsh-quick-strip strong{font-size:12px;color:#222}
.twpsh-quick-strip small{font-size:10px;color:#888;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}

/* Trust/service strip */
.twpsh-benefits{gap:0;margin-top:10px;background:#fff;border:1px solid var(--twpsh-line);border-radius:10px;overflow:hidden}
.twpsh-benefits>div{border:0;border-right:1px solid #eee;border-radius:0;padding:16px 20px;background:#fff}
.twpsh-benefits>div:last-child{border-right:0}
.twpsh-benefits b{width:35px;height:35px;border-radius:50%;background:#fff3ec;display:grid;place-items:center;font-size:17px}
.twpsh-benefits strong{font-size:12px}
.twpsh-benefits small{font-size:10px}

/* Sections */
.twpsh-panel{border:1px solid var(--twpsh-line);border-radius:10px;padding:24px;margin-top:12px;box-shadow:none}
.twpsh-section-head{margin-bottom:18px;align-items:center}
.twpsh-section-head>div>span{color:var(--twpsh-accent);opacity:1;letter-spacing:.12em;font-size:9px}
.twpsh-section-head h2{font-size:23px!important;color:#222!important;margin-top:3px!important}
.twpsh-section-head>a{color:#777!important;font-size:11px}
.twpsh-section-head>a:hover{color:var(--twpsh-accent)!important}

/* Category cards: compact EDC tiles */
.twpsh-cats{grid-template-columns:repeat(6,1fr);gap:10px}
.twpsh-cat{border:1px solid #eee;border-radius:9px;padding:10px 8px 9px;background:#fff;transition:.18s}
.twpsh-cat:hover{border-color:#ffd0b8;box-shadow:0 5px 16px rgba(255,90,0,.06);transform:translateY(-1px)}
.twpsh-cat-img{aspect-ratio:1.18;border-radius:7px;margin-bottom:7px;background:#f7f7f7;border:0}
.twpsh-cat-name{font-size:11px}
.twpsh-cat small{font-size:8px;margin-top:2px}

/* Denser marketplace product cards */
.twpsh-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.twpsh-product-card{border-radius:9px;border:1px solid #ededed;box-shadow:none;background:#fff}
.twpsh-product-card:hover{transform:translateY(-2px);border-color:#ffd1bb;box-shadow:0 9px 24px rgba(0,0,0,.07)}
.twpsh-product-image{background:#f8f8f8}
.twpsh-product-badge,.twpsh-discount{top:9px;border-radius:4px;padding:4px 7px;font-size:8px}
.twpsh-product-badge{left:9px;background:var(--twpsh-accent)}
.twpsh-discount{right:9px;background:#fff0e8;color:#e64f00}
.twpsh-product-info{padding:11px 11px 12px}
.twpsh-product-title{font-size:12px;line-height:1.45;min-height:35px;font-weight:650}
.twpsh-product-submeta{font-size:8px;min-height:18px;margin-top:3px}
.twpsh-rating{color:#f2a100}
.twpsh-price{color:var(--twpsh-accent)!important;font-size:17px!important;font-weight:850!important}
.twpsh-price ins{color:var(--twpsh-accent)!important;text-decoration:none!important}
.twpsh-price del{color:#aaa!important;font-size:9px!important;font-weight:500!important}
.twpsh-cart-btn{background:var(--twpsh-accent)!important;color:#fff!important;border-radius:6px!important;border:0!important}
.twpsh-cart-btn:hover{background:#e94f00!important}
.twpsh-sale-clock strong{background:var(--twpsh-accent);border-radius:5px}

/* Mid-page campaign banner */
.twpsh-promo{min-height:180px;margin-top:12px;border-radius:12px;padding:30px 34px;background:linear-gradient(115deg,#ff4f00,#ff7817 66%,#ffa33b);box-shadow:none}
.twpsh-promo-media:after{background:linear-gradient(90deg,rgba(239,70,0,.93),rgba(251,102,8,.68),rgba(255,142,37,.16))}
.twpsh-promo h2{font-size:27px!important}
.twpsh-promo p{color:rgba(255,255,255,.84)}
.twpsh-btn-light{color:#ed4d00!important;border-radius:7px}

/* Bottom trust cards */
.twpsh-trust{gap:10px;margin-top:12px}
.twpsh-trust>div{background:#fff;color:#222;border:1px solid #eee;border-radius:10px;min-height:145px;padding:20px;position:relative;overflow:hidden}
.twpsh-trust>div:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--twpsh-accent),var(--twpsh-accent-2))}
.twpsh-trust span{color:var(--twpsh-accent);opacity:1;font-weight:800}
.twpsh-trust h3{color:#222!important;font-size:16px!important;margin:20px 0 7px!important}
.twpsh-trust p{color:#777;font-size:10px}

/* Search dropdown / SEO block */
.twpsh-search-results{border-radius:9px;border-color:#eee;box-shadow:0 14px 35px rgba(0,0,0,.11)}
.twpsh-search-item{border-radius:7px}
.twpsh-search-item:hover{background:#fff6f1}
.twpsh-search-item small{color:var(--twpsh-accent)}
.twpsh-seo-content{margin-top:12px;border-radius:10px;border:1px solid #eee;padding:25px 28px}
.twpsh-seo-content>div>span{color:var(--twpsh-accent)}
.twpsh-seo-content h2{font-size:22px!important}
.twpsh-seo-content>a{color:var(--twpsh-accent)!important}

/* Floating + mobile navigation */
.twpsh-line-float{width:54px;height:54px;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.twpsh-mobile-nav a.is-active{color:var(--twpsh-accent)!important}
.twpsh-mobile-nav em,.twpsh-mobile-nav .twpsh-cart-count{background:var(--twpsh-accent)!important;color:#fff!important}

/* WoodMart EDC preset harmonization. Kept scoped to homepage body. */
.twpsh-home-active .wd-header-search-form input[type="text"],
.twpsh-home-active .wd-search-form input[type="text"]{border-color:#e7e7e7}
.twpsh-home-active .wd-header-cart .wd-tools-count,
.twpsh-home-active .wd-tools-element .wd-tools-count{background-color:var(--twpsh-accent)!important;color:#fff!important}

@media(max-width:1050px){
  .twpsh-market-links{gap:18px}
  .twpsh-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .twpsh-cats{grid-template-columns:repeat(6,1fr)}
  .twpsh-slide-content{width:66%}
}
@media(max-width:760px){
  .twpsh-shell{padding-bottom:82px}
  .twpsh-wrap{width:calc(100% - 20px)}
  .twpsh-market-nav{height:42px;border-radius:0;margin-top:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .twpsh-market-nav::-webkit-scrollbar{display:none}
  .twpsh-all-cats{min-width:112px;padding:0 13px;font-size:10px!important}
  .twpsh-market-links{overflow:visible;gap:18px;padding:0 15px;flex:0 0 auto}
  .twpsh-market-links a,.twpsh-market-sale{font-size:10px!important}
  .twpsh-market-sale{padding:0 14px}
  .twpsh-hero{padding-top:8px}
  .twpsh-slider{height:360px;border-radius:10px}
  .twpsh-slide-content{width:100%;padding:28px 23px 58px;justify-content:flex-end;background:linear-gradient(0deg,rgba(221,62,0,.58),transparent 54%)}
  .twpsh-slide h1,.twpsh-slide h2{font-size:34px!important;max-width:340px;margin:9px 0 11px!important}
  .twpsh-slide p{font-size:11px;line-height:1.6;max-width:330px;margin-bottom:18px}
  .twpsh-dots{left:23px;bottom:19px}
  .twpsh-quick-strip{grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}
  .twpsh-quick-strip>a{min-height:64px;padding:10px;border-radius:8px;gap:9px}
  .twpsh-quick-strip b{width:34px;height:34px;flex-basis:34px;font-size:15px}
  .twpsh-quick-strip strong{font-size:10px}.twpsh-quick-strip small{font-size:8px;max-width:110px}
  .twpsh-benefits{grid-template-columns:1fr 1fr;border-radius:8px;margin-top:7px}
  .twpsh-benefits>div{padding:12px 10px;border-bottom:1px solid #eee}
  .twpsh-benefits>div:nth-child(2){border-right:0}
  .twpsh-benefits>div:nth-child(3),.twpsh-benefits>div:nth-child(4){border-bottom:0}
  .twpsh-panel{padding:15px 10px;border-radius:8px;margin-top:7px}
  .twpsh-section-head{margin-bottom:12px}
  .twpsh-section-head h2{font-size:19px!important}
  .twpsh-cats{grid-template-columns:repeat(4,1fr);gap:7px}
  .twpsh-cat{padding:6px 5px;border-radius:7px}
  .twpsh-cat-img{border-radius:5px}
  .twpsh-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .twpsh-product-card{border-radius:7px}
  .twpsh-product-info{padding:9px}
  .twpsh-product-title{font-size:11px;min-height:33px}
  .twpsh-price{font-size:15px!important}
  .twpsh-promo{min-height:175px;margin-top:7px;border-radius:8px;padding:22px 18px}
  .twpsh-promo h2{font-size:21px!important}
  .twpsh-trust{grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}
  .twpsh-trust>div{border-radius:8px;padding:15px;min-height:128px}
  .twpsh-seo-content{margin-top:7px;border-radius:8px;padding:18px}
  .twpsh-own-header-mode .twpsh-header-inner{padding-bottom:10px}
  .twpsh-own-header-mode .twpsh-search{border-color:var(--twpsh-accent)}
}

/* =========================================================
   v2.4.0 — Taiwan marketplace / Shopee-inspired homepage
   Scoped to plugin homepage. Structure is marketplace-inspired,
   not a pixel-for-pixel copy of any third-party site.
   ========================================================= */
:root{
  --twpsh-accent:#ee4d2d;
  --twpsh-accent-2:#ff7337;
  --twpsh-accent-soft:#fff3ef;
  --twpsh-bg:#f5f5f5;
  --twpsh-line:#ececec;
  --twpsh-text:#222;
  --twpsh-muted:#757575;
}
.twpsh-shell.twpsh-shopee-mode{background:#f5f5f5;padding-bottom:42px}
.twpsh-market-header-active .whb-header,
.twpsh-market-header-active .whb-sticky-header,
.twpsh-market-header-active .wd-header-mobile-nav{display:none!important}
.twpsh-shopee-mode .twpsh-topbar{background:#ee4d2d;color:#fff}
.twpsh-shopee-mode .twpsh-topbar-inner{height:31px;font-size:11px}
.twpsh-shopee-mode .twpsh-topbar a{opacity:1;color:#fff!important;margin-left:18px;font-weight:500}
.twpsh-shopee-mode .twpsh-header{position:sticky;top:0;z-index:90;background:linear-gradient(180deg,#ee4d2d,#f45131);border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.admin-bar .twpsh-shopee-mode .twpsh-header{top:32px}
.twpsh-shopee-mode .twpsh-header-inner{height:88px;grid-template-columns:minmax(180px,235px) minmax(360px,1fr) 150px;gap:28px;padding:10px 0 8px}
.twpsh-shopee-mode .twpsh-logo{color:#fff!important;align-self:center}
.twpsh-shopee-mode .twpsh-logo img{max-height:48px;max-width:220px;filter:brightness(0) invert(1)}
.twpsh-shopee-mode .twpsh-logo-mark{background:#fff;color:#ee4d2d;border-radius:6px}
.twpsh-shopee-mode .twpsh-search-stack{min-width:0;align-self:center}
.twpsh-shopee-mode .twpsh-search{height:42px;border:0;background:#fff;border-radius:2px;padding:3px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.twpsh-shopee-mode .twpsh-search:focus-within{border:0;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.twpsh-shopee-mode .twpsh-search input[type=search]{font-size:13px!important;padding:0 13px!important;color:#333!important}
.twpsh-shopee-mode .twpsh-search button{width:58px!important;min-width:58px!important;padding:0!important;border-radius:2px!important;background:#fb5533!important;color:#fff!important;font-size:22px!important;font-weight:400!important}
.twpsh-search-keywords{display:flex;gap:14px;align-items:center;overflow:hidden;height:24px;padding-top:5px;white-space:nowrap}
.twpsh-search-keywords a{color:rgba(255,255,255,.92)!important;text-decoration:none!important;font-size:10px;font-weight:500}
.twpsh-shopee-mode .twpsh-header-actions{gap:20px;justify-content:flex-end}
.twpsh-shopee-mode .twpsh-header-actions a{position:relative;color:#fff!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:52px;text-decoration:none!important}
.twpsh-shopee-mode .twpsh-header-actions a>span{font-size:26px;line-height:1}
.twpsh-shopee-mode .twpsh-header-actions a>small{font-size:9px;color:#fff}
.twpsh-shopee-mode .twpsh-header-actions .twpsh-cart-count{position:absolute;right:1px;top:-4px;background:#fff!important;color:#ee4d2d!important;border:1px solid #ee4d2d;height:17px;min-width:17px;font-size:9px}

/* Thin navigation directly under orange header */
.twpsh-shopee-mode .twpsh-market-nav{width:100%;max-width:none;height:39px;border:0;border-radius:0;margin:0;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);padding-left:max(calc((100vw - 1280px)/2),18px);padding-right:max(calc((100vw - 1280px)/2),18px)}
.twpsh-shopee-mode .twpsh-all-cats{background:#fff;color:#ee4d2d!important;border-right:1px solid #eee;min-width:122px;font-size:11px!important;font-weight:700}
.twpsh-shopee-mode .twpsh-market-links{gap:24px;padding:0 22px}
.twpsh-shopee-mode .twpsh-market-links a,.twpsh-shopee-mode .twpsh-market-sale{font-size:10px!important;font-weight:500;color:#555!important}
.twpsh-shopee-mode .twpsh-market-sale{color:#ee4d2d!important;border-left:1px solid #eee;padding-left:18px}

/* Hero: large carousel + two stacked promo tiles like a marketplace home */
.twpsh-shopee-mode .twpsh-hero{display:grid;grid-template-columns:minmax(0,2.02fr) minmax(260px,.98fr);gap:5px;padding-top:16px}
.twpsh-shopee-mode .twpsh-slider{height:306px;border-radius:2px;box-shadow:none;background:#f36b43}
.twpsh-shopee-mode .twpsh-slide{background:linear-gradient(115deg,#f34425,#ff8b55)}
.twpsh-shopee-mode .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(225,62,31,.90) 0%,rgba(237,73,38,.67) 38%,rgba(238,77,45,.14) 75%,rgba(238,77,45,0) 100%)}
.twpsh-shopee-mode .twpsh-slide-content{width:61%;padding:35px 42px}
.twpsh-shopee-mode .twpsh-slide-content>span{font-size:9px;letter-spacing:.08em;opacity:.95}
.twpsh-shopee-mode .twpsh-slide h1,.twpsh-shopee-mode .twpsh-slide h2{font-size:clamp(30px,3.3vw,46px)!important;line-height:1.08!important;letter-spacing:-.02em!important;margin:8px 0 10px!important}
.twpsh-shopee-mode .twpsh-slide p{font-size:12px;line-height:1.6;max-width:480px;margin-bottom:17px;color:#fff}
.twpsh-shopee-mode .twpsh-btn-primary{min-height:34px;padding:0 16px;border-radius:2px;background:#fff;color:#ee4d2d!important;font-size:10px;box-shadow:none}
.twpsh-shopee-mode .twpsh-slider-arrow{width:32px;height:44px;border-radius:0!important;background:rgba(0,0,0,.22)!important;color:#fff!important;box-shadow:none!important;opacity:0}
.twpsh-shopee-mode .twpsh-slider-arrow.prev{left:0}.twpsh-shopee-mode .twpsh-slider-arrow.next{right:0}
.twpsh-shopee-mode .twpsh-dots{left:50%;transform:translateX(-50%);bottom:10px;gap:6px}
.twpsh-shopee-mode .twpsh-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55)!important}
.twpsh-shopee-mode .twpsh-dots button.is-active{width:8px;background:#ee4d2d!important;border:1px solid #fff!important}
.twpsh-hero-side{display:grid;grid-template-rows:1fr 1fr;gap:5px;min-width:0}
.twpsh-side-promo{position:relative;overflow:hidden;background:#fff;text-decoration:none!important;display:flex;align-items:center;min-height:0;color:#222!important}
.twpsh-side-promo-main{background:linear-gradient(110deg,#fff1eb,#ffd6c8)}
.twpsh-side-promo-media{position:absolute;inset:0;display:block}
.twpsh-side-promo-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,245,240,.96),rgba(255,245,240,.60),rgba(255,245,240,.05))}
.twpsh-side-promo-img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.twpsh-side-promo-copy{position:relative;z-index:2;padding:18px 20px;display:flex;flex-direction:column;align-items:flex-start;max-width:67%}
.twpsh-side-promo-copy small,.twpsh-side-coupon small{font-size:9px;color:#ee4d2d;font-weight:700;margin-bottom:4px}
.twpsh-side-promo-copy strong,.twpsh-side-coupon strong{font-size:16px;line-height:1.25;color:#333}
.twpsh-side-promo-copy em,.twpsh-side-coupon em{font-style:normal;font-size:9px;color:#ee4d2d;margin-top:8px}
.twpsh-side-coupon{background:linear-gradient(110deg,#ffefe9,#fff7e8);padding:18px 20px;gap:13px}
.twpsh-coupon-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#ee4d2d;color:#fff;font-size:20px;font-weight:900;border-radius:50%}
.twpsh-side-coupon>span:last-child{display:flex;flex-direction:column;min-width:0}

/* Shopee-like quick icons */
.twpsh-market-shortcuts{display:grid;grid-template-columns:repeat(8,1fr);background:#fff;margin-top:10px;padding:15px 8px 13px;border-bottom:1px solid #eee}
.twpsh-market-shortcuts>a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;text-decoration:none!important;color:#333!important;min-width:0;padding:0 5px}
.twpsh-market-shortcuts>a:hover{transform:translateY(-1px)}
.twpsh-market-shortcuts b{display:grid;place-items:center;width:43px;height:43px;border:1px solid #efefef;border-radius:50%;background:#fff7f4;font-size:19px;margin-bottom:7px}
.twpsh-market-shortcuts strong{font-size:10px;font-weight:500;line-height:1.25}
.twpsh-market-shortcuts small{display:none}

/* Coupon ribbon */
.twpsh-coupon-ribbon{margin-top:10px;background:linear-gradient(90deg,#ee4d2d,#ff7043);min-height:66px;color:#fff;display:flex;align-items:center;padding:10px 22px;gap:16px;overflow:hidden}
.twpsh-coupon-ribbon .twpsh-ribbon-mark{background:#fff;color:#ee4d2d;font-weight:900;font-size:11px;padding:7px 10px;border-radius:2px;white-space:nowrap}
.twpsh-coupon-ribbon strong{font-size:18px;white-space:nowrap}
.twpsh-coupon-ribbon p{margin:0;font-size:11px;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twpsh-coupon-ribbon b{background:#fff1ba;color:#d83d20;font-size:11px;padding:7px 10px;border-radius:2px;white-space:nowrap}
.twpsh-coupon-ribbon a{margin-left:auto;color:#fff!important;text-decoration:none!important;font-size:10px;white-space:nowrap}

/* Marketplace section panels */
.twpsh-shopee-mode .twpsh-panel{background:#fff;border:0;border-radius:0;padding:0;margin-top:10px;box-shadow:none}
.twpsh-shopee-mode .twpsh-section-head{height:55px;padding:0 18px;margin:0;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between}
.twpsh-shopee-mode .twpsh-section-head h2{font-size:16px!important;font-weight:500!important;letter-spacing:0!important;margin:0!important;color:#666!important}
.twpsh-shopee-mode .twpsh-section-head>div>span{font-size:15px;letter-spacing:0;color:#ee4d2d;font-weight:800;margin-right:10px}
.twpsh-shopee-mode .twpsh-section-head>a{font-size:10px;color:#ee4d2d!important;text-decoration:none!important}

/* Categories: square grid with 10 columns and 2-row marketplace feel */
.twpsh-shopee-mode .twpsh-cats{display:grid;grid-template-columns:repeat(10,1fr);gap:0;padding:0}
.twpsh-shopee-mode .twpsh-cat{min-height:135px;border:0;border-right:1px solid #eee;border-bottom:1px solid #eee;border-radius:0;padding:12px 6px 8px;background:#fff;display:flex;flex-direction:column;align-items:center;text-align:center}
.twpsh-shopee-mode .twpsh-cat:hover{border-color:#eee;box-shadow:0 1px 6px rgba(0,0,0,.12);transform:translateY(-1px);z-index:2}
.twpsh-shopee-mode .twpsh-cat-img{width:72px;height:72px;aspect-ratio:1;border-radius:50%;background:#fafafa;margin-bottom:7px;overflow:hidden}
.twpsh-shopee-mode .twpsh-cat-img img{width:100%!important;height:100%!important;object-fit:cover!important}
.twpsh-shopee-mode .twpsh-cat-name{font-size:10px;font-weight:400;line-height:1.35;color:#333}
.twpsh-shopee-mode .twpsh-cat small{display:none}

/* Flash sale horizontal rail */
.twpsh-sale-panel .twpsh-section-head{border-bottom:0}
.twpsh-flash-head>div{display:flex;align-items:center;gap:10px}
.twpsh-flash-head h2{color:#ee4d2d!important;font-weight:800!important}
.twpsh-flash-head .twpsh-sale-clock{margin-left:auto;margin-right:12px}
.twpsh-flash-head .twpsh-sale-clock span{font-size:9px;color:#888}
.twpsh-flash-head .twpsh-sale-clock strong{background:#222;color:#fff;border-radius:2px;padding:4px 7px;font-size:10px}
#twpsh-sale .twpsh-product-grid{display:flex!important;grid-template-columns:none!important;gap:0;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:2px;scrollbar-width:thin}
#twpsh-sale .twpsh-product-card{flex:0 0 16.666%;min-width:165px;scroll-snap-align:start;border-left:0;border-bottom:0;border-radius:0}

/* Brands */
.twpsh-brand-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));padding:14px 10px 18px;gap:9px}
.twpsh-brand-tiles a{text-decoration:none!important;color:#444!important;text-align:center;border:1px solid #eee;padding:12px 4px;background:#fff;min-width:0}
.twpsh-brand-tiles span{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 7px;border-radius:50%;background:#fff3ef;color:#ee4d2d;font-size:20px;font-weight:900}
.twpsh-brand-tiles strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Product cards: flatter, denser, closer to Taiwan marketplace browsing */
.twpsh-shopee-mode .twpsh-product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:10px}
.twpsh-shopee-mode .twpsh-product-card{border:1px solid #eee;border-radius:2px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03);overflow:hidden;transition:.15s}
.twpsh-shopee-mode .twpsh-product-card:hover{transform:translateY(-2px);border-color:#ee4d2d;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.twpsh-shopee-mode .twpsh-product-image{background:#fff;aspect-ratio:1;display:block;overflow:hidden}
.twpsh-shopee-mode .twpsh-product-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.twpsh-shopee-mode .twpsh-product-badge{left:0;top:7px;border-radius:0;background:#ee4d2d;font-size:8px;padding:4px 7px}
.twpsh-shopee-mode .twpsh-discount{right:0;top:0;border-radius:0;background:#ffd839;color:#ee4d2d;font-weight:800;padding:5px 6px}
.twpsh-shopee-mode .twpsh-product-info{padding:9px 9px 10px}
.twpsh-shopee-mode .twpsh-product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.45;min-height:32px;font-weight:400;color:#333!important}
.twpsh-shopee-mode .twpsh-product-submeta{display:flex;justify-content:flex-end;gap:5px;min-height:16px;margin-top:4px;font-size:8px;color:#777}
.twpsh-shopee-mode .twpsh-rating{display:none}
.twpsh-shopee-mode .twpsh-product-bottom{display:flex;align-items:flex-end;justify-content:space-between;margin-top:4px;gap:5px}
.twpsh-shopee-mode .twpsh-price{font-size:16px!important;font-weight:500!important;color:#ee4d2d!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twpsh-shopee-mode .twpsh-price ins{color:#ee4d2d!important}
.twpsh-shopee-mode .twpsh-price del{font-size:8px!important;color:#aaa!important}
.twpsh-shopee-mode .twpsh-cart-btn{width:27px;height:27px;min-width:27px!important;min-height:27px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#ee4d2d!important;border:1px solid #ee4d2d!important;font-size:17px!important;line-height:25px!important;display:grid!important;place-items:center!important}
.twpsh-shopee-mode .twpsh-cart-btn:hover{background:#ee4d2d!important;color:#fff!important}

/* Daily discovery block */
.twpsh-daily-wrap{margin-top:10px}
.twpsh-daily-title{height:58px;background:#fff;border-bottom:4px solid #ee4d2d;display:flex;align-items:center;justify-content:center}
.twpsh-daily-title span{font-size:16px;color:#ee4d2d;font-weight:500}
.twpsh-daily-wrap>.twpsh-product-grid{padding:10px 0 0;background:transparent}
.twpsh-load-more{display:flex;align-items:center;justify-content:center;width:360px;max-width:80%;height:38px;margin:18px auto 0;border:1px solid #ddd;background:#fff;color:#555!important;text-decoration:none!important;font-size:11px}
.twpsh-load-more:hover{border-color:#ee4d2d;color:#ee4d2d!important}

/* Benefits and SEO lower on page, less visually dominant */
.twpsh-shopee-mode .twpsh-benefits{margin-top:14px;border:0;border-radius:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff}
.twpsh-shopee-mode .twpsh-benefits>div{min-height:75px;padding:14px 18px;border-right:1px solid #eee;display:flex;align-items:center;gap:10px}
.twpsh-shopee-mode .twpsh-benefits b{background:#fff3ef;color:#ee4d2d;width:38px;height:38px;flex:0 0 38px}
.twpsh-shopee-mode .twpsh-benefits strong{font-size:11px}.twpsh-shopee-mode .twpsh-benefits small{font-size:9px}
.twpsh-shopee-mode .twpsh-seo-content{background:#fff;border:0;border-radius:0;margin-top:10px;padding:24px 28px}
.twpsh-shopee-mode .twpsh-seo-content h2{font-size:17px!important;font-weight:500!important}
.twpsh-shopee-mode .twpsh-seo-content p{font-size:10px;line-height:1.8;color:#777}

/* Mobile */
@media(max-width:900px){
  .twpsh-shopee-mode .twpsh-header-inner{grid-template-columns:130px minmax(0,1fr) 92px;gap:10px}
  .twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .twpsh-shopee-mode .twpsh-cats{grid-template-columns:repeat(5,1fr)}
  .twpsh-brand-tiles{grid-template-columns:repeat(5,1fr)}
  #twpsh-sale .twpsh-product-card{flex-basis:25%}
}
@media(max-width:760px){
  .twpsh-market-header-active .whb-header{display:none!important}
  .twpsh-shopee-mode .twpsh-topbar{display:none}
  .twpsh-shopee-mode .twpsh-header{top:0}
  .admin-bar .twpsh-shopee-mode .twpsh-header{top:46px}
  .twpsh-shopee-mode .twpsh-header-inner{height:auto;min-height:66px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;padding:9px 0}
  .twpsh-shopee-mode .twpsh-logo strong,.twpsh-shopee-mode .twpsh-logo img{display:none!important}
  .twpsh-shopee-mode .twpsh-logo-mark{display:grid;width:36px;height:36px;flex-basis:36px;font-size:10px}
  .twpsh-shopee-mode .twpsh-search{height:36px}
  .twpsh-shopee-mode .twpsh-search button{width:42px!important;min-width:42px!important;font-size:18px!important}
  .twpsh-search-keywords{display:none}
  .twpsh-shopee-mode .twpsh-header-actions>a:first-child{display:none!important}
  .twpsh-shopee-mode .twpsh-header-actions{gap:0}
  .twpsh-shopee-mode .twpsh-header-actions .twpsh-cart-link{min-width:38px}
  .twpsh-shopee-mode .twpsh-header-actions .twpsh-cart-link small{display:none}
  .twpsh-shopee-mode .twpsh-header-actions a>span{font-size:21px}
  .twpsh-shopee-mode .twpsh-market-nav{height:34px;padding:0 10px;overflow-x:auto}
  .twpsh-shopee-mode .twpsh-all-cats{min-width:90px;font-size:9px!important;padding:0 10px}
  .twpsh-shopee-mode .twpsh-market-links{gap:17px;padding:0 12px}
  .twpsh-shopee-mode .twpsh-market-links a,.twpsh-shopee-mode .twpsh-market-sale{font-size:9px!important}
  .twpsh-shopee-mode .twpsh-wrap{width:100%}
  .twpsh-shopee-mode .twpsh-hero{display:block;padding:7px 0 0}
  .twpsh-shopee-mode .twpsh-slider{height:205px;border-radius:0}
  .twpsh-shopee-mode .twpsh-slide-content{width:70%;padding:22px 20px 32px;background:none;justify-content:center}
  .twpsh-shopee-mode .twpsh-slide h1,.twpsh-shopee-mode .twpsh-slide h2{font-size:24px!important;max-width:270px;margin:6px 0 8px!important}
  .twpsh-shopee-mode .twpsh-slide p{font-size:9px;line-height:1.5;max-width:260px;margin-bottom:12px}
  .twpsh-shopee-mode .twpsh-btn-primary{min-height:29px;font-size:9px;padding:0 12px}
  .twpsh-hero-side{display:none}
  .twpsh-market-shortcuts{grid-template-columns:repeat(4,1fr);row-gap:14px;margin-top:7px;padding:13px 3px}
  .twpsh-market-shortcuts b{width:38px;height:38px;font-size:16px;margin-bottom:5px}
  .twpsh-market-shortcuts strong{font-size:9px}
  .twpsh-coupon-ribbon{min-height:52px;margin-top:7px;padding:8px 10px;gap:8px}
  .twpsh-coupon-ribbon strong{font-size:13px}.twpsh-coupon-ribbon p{display:none}.twpsh-coupon-ribbon b{font-size:9px;padding:5px 6px}.twpsh-coupon-ribbon a{font-size:9px}
  .twpsh-shopee-mode .twpsh-panel{margin-top:7px}
  .twpsh-shopee-mode .twpsh-section-head{height:45px;padding:0 11px}
  .twpsh-shopee-mode .twpsh-section-head h2{font-size:14px!important}
  .twpsh-shopee-mode .twpsh-cats{grid-template-columns:repeat(5,1fr);overflow:hidden}
  .twpsh-shopee-mode .twpsh-cat{min-height:103px;padding:9px 4px 6px}
  .twpsh-shopee-mode .twpsh-cat-img{width:52px;height:52px;margin-bottom:5px}
  .twpsh-shopee-mode .twpsh-cat-name{font-size:8px}
  #twpsh-sale .twpsh-product-card{flex:0 0 40%;min-width:135px}
  .twpsh-brand-tiles{grid-template-columns:repeat(5,1fr);gap:4px;padding:8px 5px 10px}
  .twpsh-brand-tiles a{padding:8px 2px}.twpsh-brand-tiles span{width:36px;height:36px;font-size:15px}.twpsh-brand-tiles strong{font-size:8px}
  .twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px}
  .twpsh-daily-wrap>.twpsh-product-grid{padding:6px 5px 0}
  .twpsh-shopee-mode .twpsh-product-info{padding:7px}
  .twpsh-shopee-mode .twpsh-product-title{font-size:10px;min-height:29px}
  .twpsh-shopee-mode .twpsh-price{font-size:14px!important}
  .twpsh-daily-title{height:47px}
  .twpsh-daily-title span{font-size:14px}
  .twpsh-shopee-mode .twpsh-benefits{grid-template-columns:1fr 1fr;margin-top:8px}
  .twpsh-shopee-mode .twpsh-benefits>div{min-height:62px;padding:10px;border-bottom:1px solid #eee}
  .twpsh-shopee-mode .twpsh-seo-content{margin-top:7px;padding:18px 14px}
}

/* ==========================================================
   v2.5.0 — Commerce-first homepage structure
   Not just a visual imitation: prioritize discovery, campaigns,
   categories and products above the fold.
   ========================================================== */
.twpsh-shopee-mode .twpsh-market-nav{margin-bottom:0}
.twpsh-commerce-hero{display:grid;grid-template-columns:205px minmax(0,1fr) 250px;gap:8px;padding-top:14px;align-items:stretch}
.twpsh-category-rail{background:#fff;border:1px solid #ececec;min-width:0;display:flex;flex-direction:column;height:306px}
.twpsh-rail-title{height:43px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid #eee;color:#333}.twpsh-rail-title span{color:#ee4d2d}.twpsh-rail-title strong{font-size:12px}
.twpsh-rail-links{flex:1;min-height:0;padding:5px 0;overflow:hidden}.twpsh-rail-links a{height:27px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;color:#555!important;text-decoration:none!important;font-size:10px}.twpsh-rail-links a:hover{background:#fff5f2;color:#ee4d2d!important}.twpsh-rail-links b{font-size:15px;font-weight:400;color:#bbb}
.twpsh-rail-all{height:34px;border-top:1px solid #eee;display:flex;align-items:center;padding:0 13px;color:#ee4d2d!important;text-decoration:none!important;font-size:9px;font-weight:700}
.twpsh-commerce-hero .twpsh-slider{height:306px;min-width:0}
.twpsh-commerce-side{height:306px;display:grid;grid-template-rows:1fr 1fr;gap:8px;min-width:0}
.twpsh-commerce-side-card{min-width:0;overflow:hidden;border:1px solid #ececec;background:#fff;padding:18px;display:flex;flex-direction:column;justify-content:center;text-decoration:none!important;color:#333!important;position:relative}.twpsh-commerce-side-card.is-coupon{background:linear-gradient(135deg,#fff0ea,#fffaf7)}.twpsh-commerce-side-card.is-service{background:linear-gradient(135deg,#fff,#fff6ed)}
.twpsh-side-tag{font-size:9px;color:#ee4d2d;font-weight:800;letter-spacing:.06em}.twpsh-commerce-side-card strong{font-size:17px;line-height:1.25;margin:6px 0;color:#292929}.twpsh-commerce-side-card p{font-size:9px;line-height:1.55;color:#777;margin:0 0 8px}.twpsh-commerce-side-card em{font-size:9px;color:#ee4d2d;font-style:normal}.twpsh-commerce-side-card>div{display:flex;gap:7px;margin-top:4px}.twpsh-commerce-side-card>div a{font-size:9px;text-decoration:none!important;border:1px solid #ee4d2d;color:#ee4d2d!important;padding:5px 7px;background:#fff}

/* Five decisive shortcuts, not eight duplicated destinations. */
.twpsh-action-strip{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid #eee;border-top:0;margin-top:8px;min-height:74px;padding:0}
.twpsh-action-strip a{display:flex;align-items:center;justify-content:center;gap:9px;border-right:1px solid #eee;color:#444!important;text-decoration:none!important;padding:11px 8px}.twpsh-action-strip a:last-child{border-right:0}.twpsh-action-strip b{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#fff3ef;font-size:15px}.twpsh-action-strip span{font-size:10px;font-weight:650}.twpsh-action-strip a:hover{color:#ee4d2d!important;background:#fffaf8}

/* Categories now become the first real merchandise navigation block. */
.twpsh-category-panel{margin-top:10px!important}.twpsh-category-panel .twpsh-section-head>div{display:flex;align-items:center;gap:10px}.twpsh-category-panel .twpsh-section-head>div>span{font-size:9px!important;color:#999!important;letter-spacing:.06em!important}.twpsh-category-panel .twpsh-section-head h2{color:#333!important;font-weight:700!important}

/* Activity: coupon is contextual, not a standalone band. */
.twpsh-inline-coupon{margin-left:auto;display:flex;align-items:center;gap:7px;padding:4px 8px;background:#fff5da;border:1px dashed #f0a33a}.twpsh-inline-coupon b{font-size:9px;color:#d93e21}.twpsh-inline-coupon small{font-size:8px;color:#8a6a39}.twpsh-flash-head .twpsh-sale-clock{margin-left:10px;margin-right:8px}

/* Wide campaign interruption after flash sale. */
.twpsh-wide-promo{position:relative;display:flex;align-items:center;min-height:142px;margin-top:10px;overflow:hidden;background:linear-gradient(105deg,#ef4e2e,#ff8a52);text-decoration:none!important;color:#fff!important}
.twpsh-wide-promo-media{position:absolute;inset:0}.twpsh-wide-promo-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(222,57,28,.92) 0%,rgba(232,65,31,.70) 45%,rgba(238,77,45,.12) 100%)}.twpsh-wide-promo-media img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}.twpsh-wide-promo-copy{position:relative;z-index:2;padding:23px 30px;max-width:610px}.twpsh-wide-promo-copy small{display:block;font-size:8px;letter-spacing:.13em;font-weight:800;opacity:.88}.twpsh-wide-promo-copy strong{display:block;font-size:24px;line-height:1.18;margin:4px 0}.twpsh-wide-promo-copy p{font-size:10px;line-height:1.6;margin:0 0 8px;color:rgba(255,255,255,.9)}.twpsh-wide-promo-copy em{font-style:normal;font-size:9px;font-weight:700;background:#fff;color:#ee4d2d;padding:6px 10px;display:inline-block}

/* Recommendation tabs consolidate hot/new/picks into one purposeful block. */
.twpsh-recommend-panel{margin-top:10px!important}.twpsh-recommend-head{min-height:62px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;gap:20px}.twpsh-recommend-head>div:first-child span{display:block;font-size:8px;color:#ee4d2d;font-weight:800;letter-spacing:.08em}.twpsh-recommend-head h2{font-size:17px!important;margin:2px 0 0!important;color:#333!important}.twpsh-tab-buttons{display:flex;align-self:stretch}.twpsh-tab-buttons button{min-width:92px;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#777!important;font-size:10px!important;padding:0 14px!important;cursor:pointer!important}.twpsh-tab-buttons button.is-active{color:#ee4d2d!important;border-bottom-color:#ee4d2d!important;font-weight:800!important}.twpsh-tab-panel{display:none}.twpsh-tab-panel.is-active{display:block}

/* Daily block: separate title and product river. */
.twpsh-daily-title{height:auto!important;min-height:63px!important;justify-content:flex-start!important;padding:0 18px!important;border-bottom:3px solid #ee4d2d!important}.twpsh-daily-title>div span{display:block;font-size:8px;color:#999;font-weight:700;letter-spacing:.08em}.twpsh-daily-title h2{font-size:17px!important;margin:2px 0 0!important;color:#333!important;font-weight:700!important}

@media(max-width:1100px){
  .twpsh-commerce-hero{grid-template-columns:180px minmax(0,1fr) 220px}.twpsh-commerce-side-card{padding:14px}.twpsh-commerce-side-card strong{font-size:14px}.twpsh-action-strip a{gap:5px}.twpsh-action-strip span{font-size:9px}
}
@media(max-width:900px){
  .twpsh-category-rail{display:none}.twpsh-commerce-hero{grid-template-columns:minmax(0,1fr) 220px}.twpsh-action-strip{grid-template-columns:repeat(5,1fr)}.twpsh-action-strip a{flex-direction:column;gap:4px}.twpsh-action-strip b{width:30px;height:30px;flex-basis:30px}.twpsh-inline-coupon{display:none}
}
@media(max-width:760px){
  /* Remove the clipped second navigation row shown in v2.4 screenshots. */
  .twpsh-shopee-mode .twpsh-market-nav{display:none!important}
  .twpsh-shopee-mode .twpsh-header-inner{min-height:56px!important;padding:7px 9px!important}.twpsh-shopee-mode .twpsh-header{box-shadow:0 1px 3px rgba(0,0,0,.10)}
  .twpsh-commerce-hero{width:100%!important;display:block;padding-top:0}.twpsh-category-rail,.twpsh-commerce-side{display:none!important}.twpsh-commerce-hero .twpsh-slider{height:178px;border-radius:0}.twpsh-shopee-mode .twpsh-slide-content{width:67%;padding:18px 16px 27px}.twpsh-shopee-mode .twpsh-slide h1,.twpsh-shopee-mode .twpsh-slide h2{font-size:21px!important;line-height:1.08!important}.twpsh-shopee-mode .twpsh-slide p{font-size:8.5px;line-height:1.45;margin-bottom:8px}.twpsh-shopee-mode .twpsh-slide-content>span{font-size:7px}.twpsh-shopee-mode .twpsh-btn-primary{min-height:26px;font-size:8px;padding:0 10px}.twpsh-shopee-mode .twpsh-dots{bottom:7px}
  .twpsh-action-strip{width:100%!important;margin-top:6px;grid-template-columns:repeat(5,1fr);min-height:66px;border-left:0;border-right:0}.twpsh-action-strip a{padding:8px 2px;border-right:0;flex-direction:column;gap:3px}.twpsh-action-strip b{width:29px;height:29px;flex-basis:29px;font-size:13px}.twpsh-action-strip span{font-size:8px;white-space:nowrap}
  .twpsh-category-panel{margin-top:6px!important}.twpsh-category-panel .twpsh-section-head>div>span{display:none}.twpsh-shopee-mode .twpsh-cats{grid-template-columns:repeat(5,1fr)!important}.twpsh-shopee-mode .twpsh-cat{min-height:94px!important}.twpsh-shopee-mode .twpsh-cat-img{width:48px!important;height:48px!important}
  .twpsh-wide-promo{width:100%!important;min-height:112px;margin-top:6px}.twpsh-wide-promo-copy{padding:16px 14px;max-width:70%}.twpsh-wide-promo-copy strong{font-size:18px}.twpsh-wide-promo-copy p{font-size:8px;max-height:25px;overflow:hidden}.twpsh-wide-promo-copy em{font-size:8px;padding:5px 7px}
  .twpsh-recommend-panel{margin-top:6px!important}.twpsh-recommend-head{min-height:52px;padding:0 9px;display:block}.twpsh-recommend-head>div:first-child{height:28px;display:flex;align-items:center;gap:6px}.twpsh-recommend-head>div:first-child span{font-size:7px}.twpsh-recommend-head h2{font-size:14px!important;margin:0!important}.twpsh-tab-buttons{height:24px;overflow-x:auto;white-space:nowrap}.twpsh-tab-buttons button{min-width:auto;height:24px;padding:0 10px!important;font-size:9px!important}
  .twpsh-flash-head .twpsh-sale-clock{margin-left:auto;margin-right:4px}.twpsh-flash-head>div>span{font-size:11px!important}.twpsh-flash-head h2{font-size:14px!important}
  .twpsh-daily-title{min-height:50px!important;padding:0 10px!important}.twpsh-daily-title h2{font-size:14px!important}.twpsh-daily-title>div span{font-size:7px}
  .twpsh-shopee-mode .twpsh-benefits{margin-top:6px}
}

/* ==========================================================
   v2.6.0 — structure cleanup & conversion optimization
   - no duplicated category keywords under search
   - hero removes repeated left category rail
   - 5-column readable product cards on desktop
   - compact utility strip for real shopping actions
   ========================================================== */
.twpsh-search-keywords{height:22px;padding-top:4px;gap:10px}
.twpsh-search-keywords>span{font-size:9px;color:rgba(255,255,255,.72);font-weight:500;flex:0 0 auto}
.twpsh-search-keywords a{font-size:9px!important;opacity:.92}

.twpsh-commerce-hero{grid-template-columns:minmax(0,1fr) 270px!important;gap:8px!important}
.twpsh-commerce-hero .twpsh-slider{height:330px!important}
.twpsh-commerce-side{height:330px!important}
.twpsh-category-rail{display:none!important}

.twpsh-action-strip{grid-template-columns:repeat(5,1fr);min-height:64px;border-top:1px solid #eee;margin-top:8px}
.twpsh-action-strip a{padding:9px 8px}
.twpsh-action-strip b{width:31px;height:31px;flex-basis:31px;font-size:14px}
.twpsh-action-strip span{font-size:10px}

/* Product cards: fewer columns, larger imagery, easier scanning. */
.twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:10px}
.twpsh-shopee-mode .twpsh-product-title{font-size:12px;line-height:1.5;min-height:36px}
.twpsh-shopee-mode .twpsh-product-info{padding:10px}
.twpsh-shopee-mode .twpsh-price{font-size:17px!important;font-weight:600!important}
.twpsh-shopee-mode .twpsh-product-submeta{font-size:8.5px}
.twpsh-shopee-mode .twpsh-cart-btn{width:29px;height:29px;min-width:29px!important;min-height:29px!important}

/* Flash sale is a horizontal rail: five readable cards instead of six tiny cards. */
#twpsh-sale .twpsh-product-card{flex:0 0 20%;min-width:190px}

.twpsh-brand-tiles a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:94px}
.twpsh-brand-mark{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;overflow:hidden;border-radius:50%;background:#fff3ef;color:#ee4d2d;font-size:18px;font-weight:900}
.twpsh-brand-mark img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.twpsh-brand-tiles small{display:block;margin-top:3px;font-size:8px;color:#999}

/* Stronger section rhythm, less template-like vertical repetition. */
.twpsh-category-panel,.twpsh-sale-panel,.twpsh-recommend-panel,.twpsh-brand-panel{border-top:1px solid #eee!important}
.twpsh-wide-promo{border-radius:2px}
.twpsh-seo-content{border-top:1px solid #eee!important}

@media(max-width:1100px){
  .twpsh-commerce-hero{grid-template-columns:minmax(0,1fr) 235px!important}
  .twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #twpsh-sale .twpsh-product-card{flex-basis:25%;min-width:175px}
}
@media(max-width:900px){
  .twpsh-commerce-hero{grid-template-columns:minmax(0,1fr) 210px!important}
  .twpsh-commerce-hero .twpsh-slider,.twpsh-commerce-side{height:300px!important}
  .twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .twpsh-commerce-hero{display:block!important}
  .twpsh-commerce-hero .twpsh-slider{height:184px!important}
  .twpsh-commerce-side{display:none!important}
  .twpsh-action-strip{min-height:62px}
  .twpsh-action-strip a{padding:7px 2px}
  .twpsh-action-strip span{font-size:8px}
  .twpsh-shopee-mode .twpsh-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}
  #twpsh-sale .twpsh-product-grid{display:flex!important;gap:0;padding:7px}
  #twpsh-sale .twpsh-product-card{flex:0 0 46%;min-width:150px}
  .twpsh-shopee-mode .twpsh-product-title{font-size:10.5px;min-height:32px}
  .twpsh-shopee-mode .twpsh-price{font-size:15px!important}
}

/* v2.7 term SEO content */
.twpsh-term-seo-content{margin:34px 0 10px;padding:24px 26px;border:1px solid #ececec;border-radius:14px;background:#fff;color:#555;line-height:1.8}
.twpsh-term-seo-content h2{margin:0 0 10px;color:#222;font-size:22px;line-height:1.35}
.twpsh-term-seo-content p:last-child{margin-bottom:0}
@media (max-width:767px){.twpsh-term-seo-content{margin-top:24px;padding:18px}.twpsh-term-seo-content h2{font-size:19px}}

/* ==========================================================
   v2.8.0 — image handling + navigation cleanup
   ========================================================== */
/* Logo: preserve original artwork. Never force uploaded logos to white blocks. */
.twpsh-shopee-mode .twpsh-logo img{
  width:auto!important;height:auto!important;max-width:220px!important;max-height:52px!important;
  object-fit:contain!important;filter:none!important;margin:0!important;
}
/* Category navigation: turn the former blank/colored block into a useful label. */
.twpsh-shopee-mode .twpsh-market-nav{overflow:visible!important}
.twpsh-shopee-mode .twpsh-all-cats{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  min-width:132px!important;padding:0 18px!important;background:#fff!important;color:#ee4d2d!important;
  border-right:1px solid #eee!important;box-shadow:none!important;
}
.twpsh-shopee-mode .twpsh-nav-cat-icon{display:grid!important;place-items:center!important;width:22px;height:22px;border-radius:5px;background:#fff1ec;color:#ee4d2d!important;font-size:13px!important;line-height:1!important}
.twpsh-shopee-mode .twpsh-nav-cat-label{display:inline!important;color:#ee4d2d!important;font-size:11px!important;font-weight:800!important;line-height:1!important}
.twpsh-shopee-mode .twpsh-market-links{padding-left:18px!important;gap:25px!important}
/* Uploaded hero art should remain readable. The overlay is lighter than before. */
.twpsh-slide.has-image .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(226,62,31,.76) 0%,rgba(235,69,35,.48) 38%,rgba(238,77,45,.10) 70%,rgba(238,77,45,0) 100%)!important}
.twpsh-slide.is-image-only .twpsh-slide-media:after{display:none!important}
.twpsh-slide.is-image-only .twpsh-slide-media img{object-fit:cover!important;object-position:center!important}
.twpsh-slide-full-link{position:absolute!important;inset:0!important;z-index:4!important;display:block!important}
.twpsh-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Mid banner uses the same predictable crop rule. */
.twpsh-wide-promo-media img{object-fit:cover!important;object-position:center!important}
@media(max-width:760px){
  .twpsh-shopee-mode .twpsh-logo img{display:none!important}
  .twpsh-shopee-mode .twpsh-market-nav{display:none!important}
}
.twpsh-commerce-hero.is-fullwidth{grid-template-columns:minmax(0,1fr)!important}
@media(max-width:760px){.twpsh-shell.twpsh-no-mobile-nav{padding-bottom:0}.twpsh-shell.twpsh-no-mobile-nav .twpsh-line-float{bottom:18px}}

/* ==========================================================
   v2.10.0 — horizontal brand logo/header fit
   ========================================================== */
.twpsh-shopee-mode .twpsh-header-inner{
  min-height:98px!important;height:auto!important;
  grid-template-columns:minmax(240px,var(--twpsh-logo-column,310px)) minmax(420px,1fr) 150px!important;
  gap:22px!important;padding:8px 0!important;
}
.twpsh-shopee-mode .twpsh-logo{
  width:100%!important;min-width:0!important;height:82px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  overflow:visible!important;padding:0!important;margin:0!important;
}
.twpsh-shopee-mode .twpsh-logo img{
  display:block!important;width:auto!important;height:auto!important;
  max-width:min(100%,var(--twpsh-logo-desktop-width,285px))!important;
  max-height:82px!important;object-fit:contain!important;object-position:left center!important;
  filter:none!important;margin:0!important;
}
.twpsh-shopee-mode .twpsh-logo strong{font-size:18px!important;line-height:1.2!important;color:#fff!important}
.twpsh-shopee-mode .twpsh-search-stack{align-self:center!important}
@media(max-width:980px) and (min-width:761px){
  .twpsh-shopee-mode .twpsh-header-inner{
    grid-template-columns:minmax(210px,250px) minmax(300px,1fr) 120px!important;gap:14px!important;
  }
  .twpsh-shopee-mode .twpsh-logo img{max-width:235px!important;max-height:74px!important}
  .twpsh-shopee-mode .twpsh-header-actions{gap:10px!important}
}
@media(max-width:760px){
  .twpsh-shopee-mode .twpsh-header-inner{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:7px 0 10px!important;min-height:0!important}
  .twpsh-shopee-mode .twpsh-logo{display:flex!important;height:58px!important;justify-content:center!important;overflow:visible!important}
  .twpsh-shopee-mode .twpsh-logo img{
    display:block!important;max-width:min(100%,var(--twpsh-logo-mobile-width,205px))!important;
    max-height:58px!important;object-fit:contain!important;object-position:center!important;
  }
  .twpsh-shopee-mode .twpsh-logo strong{display:block!important;text-align:center!important;font-size:15px!important}
}

/* =========================================================
   v2.11.0 — Banner Copy Safe-Zone System
   Left copy / right visual, per-banner text theme and focal point
   ========================================================= */
.twpsh-slide{
  --twpsh-copy-width:42%;
  --twpsh-image-x:50%;
}
.twpsh-slide .twpsh-slide-img{
  object-position:var(--twpsh-image-x) center!important;
}
.twpsh-shopee-mode .twpsh-slide-content,
.twpsh-slide-content{
  width:var(--twpsh-copy-width)!important;
  max-width:560px!important;
  padding:34px 32px 38px!important;
  justify-content:center!important;
}
.twpsh-slide-content>span.twpsh-slide-kicker{
  display:block;
  font-size:9px!important;
  letter-spacing:.12em!important;
  font-weight:850!important;
  margin-bottom:4px;
}
.twpsh-shopee-mode .twpsh-slide h1,
.twpsh-shopee-mode .twpsh-slide h2,
.twpsh-slide h1,
.twpsh-slide h2{
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1.08!important;
  margin:7px 0 9px!important;
}
.twpsh-slide-offer{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:7px 11px;
  margin:0 0 10px;
  border-radius:4px;
  font-size:13px;
  line-height:1.25;
  font-weight:900;
}
.twpsh-shopee-mode .twpsh-slide p,
.twpsh-slide p{
  max-width:100%!important;
  font-size:11px!important;
  line-height:1.6!important;
  margin:0 0 14px!important;
}

/* Light artwork: dark text, soft white safe-zone instead of orange wash. */
.twpsh-slide.has-image.is-copy-dark .twpsh-slide-media:after{
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,251,247,.90) 28%,rgba(255,248,242,.55) 43%,rgba(255,255,255,0) 58%)!important;
}
.twpsh-slide.is-copy-dark .twpsh-slide-content{color:#222!important}
.twpsh-slide.is-copy-dark .twpsh-slide-content>span{color:#e9552e!important;opacity:1!important}
.twpsh-slide.is-copy-dark h1,
.twpsh-slide.is-copy-dark h2{color:#222!important;text-shadow:none!important}
.twpsh-slide.is-copy-dark p{color:#60646c!important}
.twpsh-slide.is-copy-dark .twpsh-slide-offer{background:#fff1ea;color:#e84d25;border:1px solid #ffd4c3}
.twpsh-slide.is-copy-dark .twpsh-btn-primary{background:#ee4d2d!important;color:#fff!important;box-shadow:none!important}

/* Dark artwork: white text, controlled navy safe-zone. */
.twpsh-slide.has-image.is-copy-light .twpsh-slide-media:after{
  background:linear-gradient(90deg,rgba(5,16,39,.93) 0%,rgba(6,22,52,.82) 28%,rgba(5,28,66,.52) 43%,rgba(5,28,66,0) 58%)!important;
}
.twpsh-slide.is-copy-light .twpsh-slide-content{color:#fff!important}
.twpsh-slide.is-copy-light .twpsh-slide-content>span{color:#fff!important;opacity:.82!important}
.twpsh-slide.is-copy-light h1,
.twpsh-slide.is-copy-light h2{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.18)!important}
.twpsh-slide.is-copy-light p{color:rgba(255,255,255,.88)!important}
.twpsh-slide.is-copy-light .twpsh-slide-offer{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(5px)}
.twpsh-slide.is-copy-light .twpsh-btn-primary{background:#fff!important;color:#102044!important;box-shadow:none!important}

.twpsh-slide.is-image-only .twpsh-slide-media:after{display:none!important}
.twpsh-slide.is-image-only .twpsh-slide-img{object-position:var(--twpsh-image-x) center!important}

/* Mid-page banner uses the same safe-zone logic. */
.twpsh-wide-promo{
  --twpsh-copy-width:42%;
  --twpsh-image-x:50%;
  min-height:142px;
  background:#f7eee7!important;
}
.twpsh-wide-promo-media img{object-position:var(--twpsh-image-x) center!important}
.twpsh-wide-promo-copy{
  width:var(--twpsh-copy-width)!important;
  max-width:none!important;
  padding:20px 24px!important;
}
.twpsh-wide-promo-copy strong{font-size:22px!important;margin:4px 0 6px!important}
.twpsh-wide-offer{display:inline-block;font-size:12px;line-height:1.25;font-weight:900;padding:5px 9px;border-radius:4px;margin:0 0 7px}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-media:after{
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,251,247,.88) 31%,rgba(255,248,242,.48) 45%,rgba(255,255,255,0) 60%)!important;
}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-copy{color:#222!important}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-copy small{color:#e9552e!important;opacity:1!important}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-copy strong{color:#222!important}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-copy p{color:#60646c!important}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-offer{background:#fff1ea;color:#e84d25;border:1px solid #ffd4c3}
.twpsh-wide-promo.is-copy-dark .twpsh-wide-promo-copy em{background:#ee4d2d!important;color:#fff!important}
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-media:after{
  background:linear-gradient(90deg,rgba(5,16,39,.93) 0%,rgba(6,22,52,.80) 31%,rgba(5,28,66,.48) 45%,rgba(5,28,66,0) 60%)!important;
}
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-copy{color:#fff!important}
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-copy small,
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-copy strong{color:#fff!important}
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-copy p{color:rgba(255,255,255,.88)!important}
.twpsh-wide-promo.is-copy-light .twpsh-wide-offer{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25)}
.twpsh-wide-promo.is-copy-light .twpsh-wide-promo-copy em{background:#fff!important;color:#102044!important}
.twpsh-wide-promo.is-image-only .twpsh-wide-promo-media:after{display:none!important}

@media(max-width:760px){
  .twpsh-shopee-mode .twpsh-slide-content,
  .twpsh-slide-content{
    width:min(64%,var(--twpsh-copy-width))!important;
    max-width:none!important;
    padding:13px 12px 24px!important;
    justify-content:center!important;
  }
  .twpsh-shopee-mode .twpsh-slide h1,
  .twpsh-shopee-mode .twpsh-slide h2,
  .twpsh-slide h1,
  .twpsh-slide h2{font-size:20px!important;line-height:1.08!important;margin:4px 0 5px!important;max-width:none!important}
  .twpsh-slide-content>span.twpsh-slide-kicker{font-size:6.5px!important;margin-bottom:1px}
  .twpsh-slide-offer{font-size:8px;padding:4px 6px;margin-bottom:5px}
  .twpsh-shopee-mode .twpsh-slide p,
  .twpsh-slide p{font-size:7.5px!important;line-height:1.45!important;margin-bottom:7px!important;max-height:34px;overflow:hidden}
  .twpsh-shopee-mode .twpsh-btn-primary{min-height:24px!important;font-size:7.5px!important;padding:0 9px!important}
  .twpsh-slide.has-image.is-copy-dark .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,251,247,.88) 38%,rgba(255,255,255,.18) 60%,rgba(255,255,255,0) 75%)!important}
  .twpsh-slide.has-image.is-copy-light .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(5,16,39,.93) 0%,rgba(6,22,52,.80) 38%,rgba(5,28,66,.18) 60%,rgba(5,28,66,0) 75%)!important}
  .twpsh-wide-promo-copy{width:min(62%,var(--twpsh-copy-width))!important;padding:12px 10px!important}
  .twpsh-wide-promo-copy strong{font-size:16px!important}
  .twpsh-wide-offer{font-size:8px;padding:3px 5px;margin-bottom:4px}
}
@media(max-width:760px){
  .twpsh-slide .twpsh-slide-img,.twpsh-wide-promo-media img{object-position:65% center!important}
  .twpsh-shopee-mode .twpsh-slide-content,.twpsh-slide-content{width:58%!important}
  .twpsh-wide-promo-copy{width:60%!important}
}

/* =========================================================
   v2.12.0 — Storefront Control Center
   social channels / mobile LINE / review carousel / true carousels
   ========================================================= */
.twpsh-slide-media picture,.twpsh-wide-promo-media picture{display:block;width:100%;height:100%}
.twpsh-slide-media picture img,.twpsh-wide-promo-media picture img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Limited-offer carousel */
.twpsh-product-carousel{position:relative;overflow:visible}
.twpsh-product-carousel .twpsh-product-grid{scroll-behavior:smooth;scrollbar-width:none!important}
.twpsh-product-carousel .twpsh-product-grid::-webkit-scrollbar{display:none}
.twpsh-carousel-arrow,.twpsh-review-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:8;width:34px;height:48px;border:0!important;border-radius:8px!important;background:rgba(255,255,255,.96)!important;color:#ee4d2d!important;box-shadow:0 4px 18px rgba(0,0,0,.13);font-size:28px!important;line-height:1!important;padding:0!important;display:grid!important;place-items:center;cursor:pointer}
.twpsh-carousel-arrow.prev,.twpsh-review-arrow.prev{left:-9px}.twpsh-carousel-arrow.next,.twpsh-review-arrow.next{right:-9px}

/* Custom product tabs */
.twpsh-custom-tabs .twpsh-recommend-head>div:first-child:empty{display:none}
.twpsh-custom-tab-more{text-align:right;padding:9px 16px 0}
.twpsh-custom-tab-more a{font-size:10px;font-weight:800;color:#ee4d2d!important;text-decoration:none!important}

/* Real WooCommerce review carousel */
.twpsh-review-carousel{position:relative}
.twpsh-review-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px}
.twpsh-review-track::-webkit-scrollbar{display:none}
.twpsh-review-card{flex:0 0 calc((100% - 36px)/4);scroll-snap-align:start;border:1px solid #eee;border-radius:14px;background:#fff;padding:15px;min-width:220px;box-sizing:border-box}
.twpsh-review-product{display:flex;align-items:center;gap:10px}
.twpsh-review-product>a{width:46px;height:46px;border-radius:10px;overflow:hidden;flex:0 0 46px;background:#f7f7f7}.twpsh-review-product img{width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.twpsh-review-product strong{display:block;font-size:11px;color:#222}.twpsh-review-product span{display:block;margin-top:3px;color:#f2a600;font-size:10px;letter-spacing:.05em}
.twpsh-review-card p{font-size:11px;line-height:1.7;color:#555;margin:12px 0;min-height:56px}
.twpsh-review-product-link{display:block;color:#333!important;font-size:10px;font-weight:750;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twpsh-review-card time{display:block;color:#aaa;font-size:8px;margin-top:6px}

/* Desktop right-side social/customer-service float */
.twpsh-social-float{position:fixed;right:14px;top:50%;transform:translateY(-50%);z-index:1005;display:grid;gap:8px}
.twpsh-social-float-item{position:relative;width:48px;height:48px;border:1px solid #eee!important;border-radius:13px!important;background:#fff!important;padding:6px!important;display:grid!important;place-items:center!important;box-shadow:0 6px 20px rgba(0,0,0,.11);cursor:pointer;text-decoration:none!important}
.twpsh-social-logo{width:34px;height:34px;display:block}.twpsh-social-logo img{width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
.twpsh-social-tooltip{position:absolute;right:57px;top:50%;transform:translateY(-50%) translateX(5px);min-width:150px;max-width:240px;background:#222;color:#fff;border-radius:10px;padding:9px 11px;opacity:0;visibility:hidden;transition:.18s;pointer-events:none;text-align:left}
.twpsh-social-tooltip b,.twpsh-social-tooltip small{display:block}.twpsh-social-tooltip b{font-size:11px}.twpsh-social-tooltip small{font-size:9px;color:#ddd;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twpsh-social-float-item:hover .twpsh-social-tooltip{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}
.twpsh-social-dialog[hidden]{display:none!important}.twpsh-social-dialog{position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.52);display:grid;place-items:center;padding:20px}.twpsh-social-dialog-card{position:relative;width:min(330px,100%);background:#fff;border-radius:18px;padding:26px;text-align:center;box-shadow:0 20px 70px rgba(0,0,0,.28)}
.twpsh-social-dialog-card>strong{font-size:18px;color:#222}.twpsh-social-dialog-card p{font-size:13px;color:#555;word-break:break-all}.twpsh-social-close{position:absolute;right:10px;top:8px;border:0!important;background:transparent!important;font-size:25px!important;line-height:1!important;color:#666!important;padding:4px!important}.twpsh-social-qr{margin:16px auto;width:190px;height:190px;border:1px solid #eee;padding:7px;border-radius:12px}.twpsh-social-qr img{width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}.twpsh-copy-value{border:0!important;border-radius:9px!important;background:#ee4d2d!important;color:#fff!important;padding:9px 15px!important;font-size:11px!important;font-weight:800!important}
.twpsh-dialog-open{overflow:hidden}

/* Mobile LINE fifth navigation item */
.twpsh-mobile-nav button{position:relative;border:0!important;background:transparent!important;color:#6e7279!important;text-align:center;font-size:9px!important;padding:0!important;min-height:0!important;font-family:inherit!important}
.twpsh-mobile-nav.has-line{grid-template-columns:repeat(5,1fr)!important}
.twpsh-mobile-line b{position:relative!important;width:22px;height:22px;margin:0 auto 2px!important;display:grid!important;place-items:center!important}
.twpsh-mobile-line b img{width:22px!important;height:22px!important;object-fit:contain!important;margin:0!important}
.twpsh-mobile-line b i{position:absolute;right:-7px;top:-8px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#f04438;color:#fff;font-style:normal;font-size:9px;font-weight:900;border:2px solid #fff;animation:twpshBadgePulse 1.7s ease-in-out infinite}
@keyframes twpshBadgePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.16)}}

@media(max-width:980px) and (min-width:761px){.twpsh-review-card{flex-basis:calc((100% - 24px)/3)}}
@media(max-width:760px){
  .twpsh-social-float{display:none!important}
  .twpsh-carousel-arrow,.twpsh-review-arrow{display:none!important}
  .twpsh-review-card{flex:0 0 84%;min-width:0;padding:13px}
  .twpsh-review-panel{overflow:hidden}
  .twpsh-shell{padding-bottom:84px}
  /* Dedicated mobile banners are allowed to breathe; the picture source swaps automatically. */
  .twpsh-commerce-hero .twpsh-slider{height:300px!important}
  .twpsh-slide .twpsh-slide-img{object-position:var(--twpsh-image-x) center!important}
  .twpsh-slide-content,.twpsh-shopee-mode .twpsh-slide-content{width:58%!important;padding:18px 12px 28px!important}
  .twpsh-slide.has-image.is-copy-dark .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,251,247,.90) 44%,rgba(255,255,255,.12) 67%,rgba(255,255,255,0) 82%)!important}
  .twpsh-slide.has-image.is-copy-light .twpsh-slide-media:after{background:linear-gradient(90deg,rgba(5,16,39,.94) 0%,rgba(6,22,52,.82) 44%,rgba(5,28,66,.12) 67%,rgba(5,28,66,0) 82%)!important}
  .twpsh-wide-promo{min-height:230px!important}
  .twpsh-wide-promo-copy{width:58%!important;padding:16px 12px!important}
}

/* =========================================================
   v2.12.1 — linkage fixes
   coupon plain-text output / brand-category fallback / real horizontal carousel
   ========================================================= */
.twpsh-product-carousel .twpsh-product-grid{
  display:flex!important;
  grid-template-columns:none!important;
  gap:12px!important;
  overflow-x:auto!important;
  scroll-snap-type:x mandatory;
  padding:2px!important;
}
.twpsh-product-carousel .twpsh-product-card{
  flex:0 0 calc((100% - 48px)/5)!important;
  scroll-snap-align:start;
}
.twpsh-action-strip button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  border:0!important;
  border-right:1px solid #eee!important;
  background:#fff!important;
  color:#444!important;
  padding:11px 8px!important;
  min-height:0!important;
  width:100%!important;
  font-family:inherit!important;
  cursor:pointer!important;
}
.twpsh-action-strip button:hover{color:#ee4d2d!important;background:#fffaf8!important}
.twpsh-commerce-side-card>div button{
  font-size:9px!important;
  text-decoration:none!important;
  border:1px solid #ee4d2d!important;
  color:#ee4d2d!important;
  padding:5px 7px!important;
  background:#fff!important;
  min-height:0!important;
  line-height:1.35!important;
  cursor:pointer!important;
}
.twpsh-account-coupon{margin:16px 0;padding:14px 16px;border:1px solid #ffd6c8;background:#fff7f3;border-radius:12px}
.twpsh-account-coupon strong,.twpsh-account-coupon span{display:block}.twpsh-account-coupon strong{color:#ee4d2d;font-size:16px}.twpsh-account-coupon span{margin-top:6px;font-size:12px;color:#555}.twpsh-account-coupon b{color:#222}
@media(max-width:980px) and (min-width:761px){
  .twpsh-product-carousel .twpsh-product-card{flex-basis:calc((100% - 24px)/3)!important}
}
@media(max-width:760px){
  .twpsh-product-carousel .twpsh-product-card{flex-basis:calc((100% - 8px)/2)!important}
  .twpsh-action-strip button{padding:8px 2px!important;border-right:0!important;flex-direction:column!important;gap:3px!important}
}
