/* TWP Guide Wholesale – front end. Colours follow the theme where possible. */
.twp{--twp-red:#c8102e;--twp-green:#1a7f37;--twp-orange:#b35900;--twp-line:#e3e3e3;--twp-soft:#f7f7f7}
.twp *{box-sizing:border-box}
.twp-form label{display:block;font-weight:600;margin-bottom:4px}
.twp-form input[type=text],.twp-form input[type=email],.twp-form input[type=tel],.twp-form input[type=password],.twp-form input[type=number],.twp-form input[type=date],.twp-form textarea,.twp-form select{display:block;width:100%;margin-top:4px;font-weight:400}
.twp-form--narrow{max-width:420px}
.twp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0 20px}
.twp-fieldset{border:1px solid var(--twp-line);border-radius:8px;padding:10px 14px;margin:0 0 16px}
.twp-fieldset legend{font-weight:600;padding:0 6px}
.twp-check,.twp-form .twp-check{display:inline-flex;align-items:center;gap:6px;font-weight:400;margin:4px 16px 4px 0}
.twp-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}
.twp-btn{display:inline-block;padding:10px 18px;border-radius:6px;border:1px solid var(--twp-line);background:#fff;color:#222;text-decoration:none;cursor:pointer;font-size:15px;line-height:1.3}
.twp-btn:hover{border-color:#999}
.twp-btn--primary{background:var(--twp-red);border-color:var(--twp-red);color:#fff}
.twp-btn--primary:hover{filter:brightness(.92);color:#fff}
.twp-btn--danger{color:var(--twp-red);border-color:var(--twp-red)}
.twp-btn--disabled{opacity:.65;cursor:default;background:var(--twp-soft)}
.twp-btn--lg{padding:12px 26px;font-size:17px}
.twp-link{font-size:14px}
.twp-link--danger{color:var(--twp-red)}
.twp-muted{color:#777;font-size:13px}
.twp-green{color:var(--twp-green)}
.twp-orange{color:var(--twp-orange)}
.twp-notice{padding:12px 16px;border-radius:8px;margin:0 0 16px;border-left:4px solid}
.twp-notice ul{margin:0;padding-left:18px}
.twp-notice--ok{background:#eefaf1;border-color:var(--twp-green)}
.twp-notice--error{background:#fdeeee;border-color:var(--twp-red)}
.twp-notice--info{background:#eef4fb;border-color:#2c6ecb}
.twp-table{width:100%;border-collapse:collapse;margin:0 0 16px}
.twp-table th,.twp-table td{padding:8px;border-bottom:1px solid var(--twp-line);text-align:left;vertical-align:middle}
.twp-table .num{text-align:right;white-space:nowrap}
.twp-table tfoot th{border-top:2px solid #ccc}
.twp-thumb img{width:56px;height:56px;object-fit:cover;border-radius:6px}
.twp-qty-input{width:80px!important;display:inline-block!important}
.twp-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:0 0 16px}
.twp-model{display:block;border:2px solid var(--twp-line);border-radius:10px;padding:14px;cursor:pointer;font-weight:400!important}
.twp-model:has(input:checked){border-color:var(--twp-red);background:#fff7f8}
.twp-model strong{display:inline-block;margin:0 0 4px 4px;font-size:16px}
.twp-model span{display:block;color:#555;font-size:14px}
.twp-badge{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;background:#eee;color:#333;white-space:nowrap;vertical-align:middle}
.twp-badge--new,.twp-badge--revision,.twp-badge--g-pending{background:#fff3cd;color:#7a5b00}
.twp-badge--quoted,.twp-badge--selling,.twp-badge--ordered{background:#e4efff;color:#1d4f9c}
.twp-badge--awaiting_payment{background:#ffe8d6;color:#8a3d00}
.twp-badge--paid,.twp-badge--shipped,.twp-badge--closed,.twp-badge--commission_paid,.twp-badge--g-approved{background:#e3f6e8;color:#1a7f37}
.twp-badge--cancelled,.twp-badge--g-rejected,.twp-badge--g-suspended{background:#f1f1f1;color:#777}
.twp-summary{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px}
.twp-summary>div,.twp-card{flex:1 1 220px;background:var(--twp-soft);border-radius:10px;padding:14px}
.twp-summary span,.twp-card span{display:block;color:#666;font-size:13px}
.twp-summary strong,.twp-card strong{font-size:22px}
.twp-cards{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.twp-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin:16px 0}
.twp-details summary{cursor:pointer;color:#2c6ecb;padding:10px 0}
.twp-details--cancel summary{color:var(--twp-red)}
.twp-box,.twp-message{border:1px solid var(--twp-line);border-radius:10px;padding:14px;margin:0 0 16px}
.twp-bank{white-space:normal;background:var(--twp-soft);padding:10px;border-radius:8px;margin:8px 0}
.twp-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--twp-line);margin:0 0 16px}
.twp-tabs a{padding:8px 14px;text-decoration:none;border-bottom:2px solid transparent}
.twp-tabs a.is-active{border-color:var(--twp-red);font-weight:600}
.twp-request{margin-top:8px}
.twp-request--single{margin:16px 0}
.twp-request--loop .twp-btn{width:100%;text-align:center}
.twp-qty{display:inline-block;margin-right:8px}
.twp-qty input{width:80px}
.twp-card-meta{font-size:13px;color:#666;margin:4px 0}
.twp-spec{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.twp-spec th,.twp-spec td{padding:6px 8px;border-bottom:1px solid var(--twp-line);text-align:left}
.twp-spec th{width:40%;color:#666;font-weight:400}
.twp-selling-point{background:#fff7f8;border-radius:8px;padding:10px 12px;margin:0 0 12px;font-size:14px}
.twp-woo-register{margin-top:12px}
.twp-social-signin{max-width:440px;margin:0 0 22px}
.twp-social-signin__head{margin:0 0 12px;line-height:1.5}
.twp-social-signin .twp-btn--block{padding:13px 18px;font-size:16px;min-height:48px;box-sizing:border-box}
.login .twp-social-signin{background:#fff;padding:20px 24px 14px;margin:0 0 16px;border:1px solid #c3c4c7;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.login .twp-social-signin .twp-muted{color:#646970;font-size:13px}
@media (max-width:600px){
  .twp-table thead{display:none}
  .twp-quote-list .twp-table td{display:inline-block;border:0;padding:4px}
  .twp-quote-list .twp-table tr{display:block;border-bottom:1px solid var(--twp-line);padding:6px 0}
  .twp-quote-table,.twp-my-quotes .twp-table,.twp-commission .twp-table{display:block;overflow-x:auto}
  .twp-quote-table thead,.twp-my-quotes .twp-table thead,.twp-commission .twp-table thead{display:table-header-group}
}
@media print{.twp-btn,.twp-tabs,.twp-actions{display:none}}
/* sale mode (buy outright only / buy or consign) */
.twp-mode{display:inline-block;font-size:12.5px;line-height:1.4;padding:3px 10px;border-radius:999px;margin-top:6px;font-weight:700;color:#fff}
.twp-mode--buy{background:#F26522}
.twp-mode--both{background:#128A70}
.twp-mode--promo{background:#D92B2B}
.twp-mode--ready{background:#22B89A}
.twp-mode--wait{background:#1EB5EA}
.twp-mode--out{background:#8a8a8a}
.twp-model .twp-model-warn{display:block;margin-top:6px;color:#a8430f;font-size:13px}
.twp-consign-on .twp-row--buy td{background:#fff4ec}
/* buyer type on sign-up */
.twp-types{margin-bottom:8px}
.twp-register.twp-type-company .twp-only-guide,.twp-register.twp-type-guide .twp-only-company{display:none}
.twp-register:not(.twp-seg-tour_company) .twp-only-tat,.twp-register.twp-seg-tour_company .twp-not-tat,.twp-register.twp-type-guide .twp-not-tat,.twp-register.twp-seg-use .twp-only-resell{display:none}
.twp-segs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.twp-type-tag{display:inline-block;font-size:12px;padding:2px 8px;border-radius:999px;background:#e7f6fc;color:#0b6e91;font-weight:600}
.twp-credit{margin:8px 0;padding:10px 12px;border-radius:10px;background:#eefaf6;border:1px solid #bfe9dc;font-size:14px}
.twp-credit-track{height:8px;border-radius:999px;background:#dfe7e4;overflow:hidden;margin:6px 0}
.twp-credit-track span{display:block;height:100%;background:#22B89A}
.twp-credit--warn{background:#fff8e6;border-color:#f3dc9a}.twp-credit--warn .twp-credit-track span{background:#EDD55E}
.twp-credit--over{background:#fdeeee;border-color:#f3b7b7}.twp-credit--over .twp-credit-track span{background:#D92B2B}
.twp-credit-warn{color:#D92B2B;font-weight:600}
/* 1.7.0 consignment approval + LINE */
.twp-model.is-locked{opacity:.85;background:#fafafa}
.twp-model.is-locked input{cursor:not-allowed}
.twp-consign-lock{display:block;margin-top:8px;font-size:14px;color:#555}
.twp-btn--line,.twp-btn--line:visited{background:#06C755;border-color:#06C755;color:#fff!important}
.twp-btn--line:hover{background:#05b34c;color:#fff}
.twp-consign-tag{margin-left:6px}
.twp-consign-tag--pending{background:#fff8e6;color:#8a6d00}
.twp-consign-tag--none,.twp-consign-tag--rejected{background:#fdeeee;color:#a51d1d}
.twp-consign-tag--approved,.twp-consign-tag--ok{background:#e7f7f2;color:#11745f}
/* 1.15.0 catalog: search, two sections (souvenirs to resell / raw materials), category tiles */
.twp-cnav{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:12px 0 8px;font-size:15px;max-width:100%}
.twp-cnav>*{min-width:0}
.twp-cnav__nw{white-space:nowrap}
.twp-cnav .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}
.twp-cnav__search{display:flex;gap:8px;max-width:680px;margin:0}
.twp-cnav__search input[type=search]{flex:1;min-width:0;height:48px;margin:0;border:1px solid #d9d3cc;border-radius:12px;padding:0 14px 0 42px;font-size:16px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B92A0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 13px center/20px no-repeat;box-shadow:none}
.twp-cnav__search input[type=search]:focus{border-color:#F05A64;outline:0;box-shadow:0 0 0 3px rgba(240,90,100,.15)}
.twp-cnav__search button{flex:none;height:48px;margin:0;padding:0 20px;border:0;border-radius:12px;background:#F05A64;color:#fff;font-weight:600;font-size:16px;cursor:pointer}
.twp-cnav__search button:hover{background:#D9434E}
.twp-cnav__secs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border-radius:14px;background:#EFE9E2;max-width:560px}
.twp-cnav__sec{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:6px 8px;border:0;border-radius:11px;background:transparent;color:#5B6472!important;text-decoration:none!important;text-align:center}
.twp-cnav__sec:hover{background:rgba(255,255,255,.6)}
.twp-cnav__sec .twp-cnav__sico .twp-ic{width:19px;height:19px}
.twp-cnav__sec .twp-cnav__stx b{font-size:15.5px;font-weight:600}
.twp-cnav__sico{display:grid;place-items:center;flex:none}
.twp-cnav__stx{display:grid;min-width:0}
.twp-cnav__stx b{font-size:16px;line-height:1.3}
.twp-cnav__stx small{font-size:12.5px;line-height:1.35;color:#6b7280}
.twp-cnav__sec em{position:absolute;top:7px;right:8px;font-style:normal;font-size:12px;line-height:1.6;padding:0 7px;border-radius:99px;background:#f1ede8;color:#555}
.twp-cnav__sec.is-on{background:#fff;box-shadow:0 1px 4px rgba(31,36,48,.13);color:#D9434E!important}
.twp-cnav__sec--raw.is-on{color:#11745F!important}
.twp-cnav__cats{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scroll-snap-type:x proximity;scrollbar-width:thin}
.twp-cnav__cat{flex:0 0 100px;display:grid;justify-items:center;align-content:start;gap:4px;padding:10px 6px 8px;border:1px solid #e7e2dc;border-radius:14px;background:#fff;color:#1F2430!important;text-decoration:none!important;text-align:center;scroll-snap-align:start}
.twp-cnav__cat:hover{border-color:#c9c2ba}
.twp-cnav__ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#FFF1F2;color:#D9434E}
.twp-cnav__ico .twp-ic{width:26px;height:26px}
.twp-cnav__name{font-size:13px;line-height:1.3;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.twp-cnav__cat em{font-style:normal;font-size:12px;color:#8B92A0}
.twp-cnav__cat.is-on{border-color:#F05A64;box-shadow:inset 0 0 0 1px #F05A64;background:#FFF1F2}
.twp-cnav__sec--raw.is-on~.twp-cnav__cats .twp-cnav__cat.is-on,.twp-cnav--raw .twp-cnav__cat.is-on{border-color:#22B89A;box-shadow:inset 0 0 0 1px #22B89A;background:#EAF8F4}
.twp-cnav--raw .twp-cnav__ico,.twp-cnav__block--raw .twp-cnav__ico,.twp-cnav__cats--raw .twp-cnav__ico{background:#E6F6F1;color:#1A9A80}
.twp-cnav__subs,.twp-cnav__modes{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.twp-cnav__modes>span{font-size:13px;color:#6b7280;margin-right:2px}
.twp-cnav__chip{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:4px 14px;border:1px solid #e0dad3;border-radius:99px;background:#fff;color:#444!important;text-decoration:none!important;font-size:14px;line-height:1.3}
.twp-cnav__chip em{font-style:normal;color:#999;font-size:12px}
.twp-cnav__chip.is-on{background:#1F2430;border-color:#1F2430;color:#fff!important}
.twp-cnav__chip.is-on em{color:#ddd}
.twp-cnav__sline{margin:0;font-size:14px}
.twp-cnav-empty{text-align:center;padding:28px 16px;border:1px dashed #e0dad3;border-radius:14px;margin:8px 0 24px}
.twp-cnav-empty p{margin:0 0 8px}
.woocommerce-result-count.twp-count{font-size:14px;color:#6b7280}
@media (min-width:768px){.twp-cnav__cats{flex-wrap:wrap;overflow:visible}}
@media (max-width:420px){.twp-cnav__sec{padding:6px 5px;gap:4px;min-height:44px}.twp-cnav__sec .twp-cnav__sico .twp-ic{width:18px;height:18px}.twp-cnav__sec .twp-cnav__stx b{font-size:14px}.twp-cnav__stx b{font-size:14.5px}.twp-cnav__stx small{font-size:11.5px}.twp-cnav__cat{flex-basis:90px}.twp-cnav__name{font-size:12px}.twp-cnav__search button{padding:0 14px}}
/* home page: both sections with their categories */
.twp-cnav--home{gap:14px;margin:8px 0 20px}
.twp-cnav__block{display:grid;gap:10px;padding:12px;border:1px solid #ece7e1;border-radius:16px;background:#fff;min-width:0}
.twp-cnav__bhead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px 10px;color:#1F2430!important;text-decoration:none!important}
.twp-cnav__bhead .twp-cnav__stx b{padding-right:0}
.twp-cnav__more{font-size:13px;color:#D9434E;white-space:nowrap;font-weight:600}
.twp-cnav__block--raw .twp-cnav__more{color:#1A9A80}
@media (min-width:960px){.twp-cnav--home{grid-template-columns:repeat(2,minmax(0,1fr))}.twp-cnav--home .twp-cnav__search{grid-column:1/-1}}
@media (max-width:420px){.twp-cnav__bhead{grid-template-columns:auto minmax(0,1fr)}.twp-cnav__more{grid-column:1/-1}}
.woocommerce-ordering select.orderby{min-height:40px;font-size:14px}
@media (max-width:359px){.twp-cnav__sec .twp-cnav__sico{display:none}.twp-cnav__search button{padding:0 12px}}
/* 1.16.0 customers' sign-in card (/login, /register, My Account): LINE and Gmail only */
.twp-signin-only .entry-header{display:none}
.twp-signin-card{max-width:520px;margin:8px auto 24px;border:1px solid #e3e6ea;border-radius:16px;padding:36px;display:flex;flex-direction:column;gap:16px;background:#fff;color:#1d2430}
.twp-signin-card__pill{align-self:flex-start;font-size:14px;font-weight:600;color:#0f6b57;background:#e6f7f2;border-radius:999px;padding:4px 12px;line-height:1.5}
.twp-signin-card__title{margin:0;font-size:30px;line-height:1.3;font-weight:700;color:#1d2430}
.twp-signin-card__sub{margin:-8px 0 0;font-size:16px;color:#4f5967}
.twp.twp-signin-card p{margin-bottom:0}
.twp.twp-signin-card ul.twp-signin-card__chips{margin:0;padding:0}
.twp-signin-card__chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.twp-signin-card__chips li{font-size:14px;border:1px solid #d9dde3;border-radius:999px;padding:3px 12px;margin:0;line-height:1.6}
.twp-signin-card .twp-line-login{margin:0;display:flex;flex-direction:column;gap:12px}
.twp-signin-card .twp-btn--block{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;border-radius:10px;font-size:18px;font-weight:700;padding:12px 16px;margin:0;line-height:1.3}
.twp-signin-card .twp-btn--line,.twp-signin-card .twp-btn--line:visited{background:#04A847;border-color:#04A847;color:#fff!important}
.twp-signin-card .twp-btn--line:hover{background:#03923d;border-color:#03923d}
.twp-signin-card .twp-btn--google.twp-btn--block{margin-top:0;border:1.5px solid #c9ced6!important;font-size:17px;font-weight:600}
.twp-signin-card .twp-line-login>.twp-muted{font-size:15px;color:#4f5967;line-height:1.6;margin:2px 0 0}
.twp-signin-card .twp-signin-help{border-top:1px solid #eceef1;padding-top:16px;margin:2px 0 0;font-size:14px;color:#5b6575;line-height:1.6}
.twp-btn .twp-line-logo{flex:0 0 auto}
@media (max-width:600px){.twp-signin-card{border:0;border-radius:0;padding:4px 0;margin:0 0 16px}.twp-signin-card__title{font-size:26px}}
/* 1.17.0 catalog by customer type: who it is for, shortcut chips, tile grid, countries, เคยจอง, suggestions, sidebar on a computer */
.twp-cnav__who{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14px}
.twp-cnav__whochip{display:inline-flex;align-items:center;gap:6px;padding:5px 13px;border-radius:99px;background:#FFF1F2;color:#C8414B;font-weight:600}
.twp-cnav--raw .twp-cnav__whochip{background:#E6F6F1;color:#11745F}
.twp-cnav__whox{color:#6b7280!important;font-size:13px}
.twp-cnav__short{gap:8px}
.twp-cnav__cats--gift,.twp-cnav__cats--raw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;padding:0}
.twp-cnav__cats--raw{grid-template-columns:repeat(4,minmax(0,1fr))}
.twp-cnav__cats--gift .twp-cnav__cat,.twp-cnav__cats--raw .twp-cnav__cat{min-width:0;padding:9px 4px 7px}
.twp-cnav__cats--raw .twp-cnav__name{-webkit-line-clamp:3;min-height:3.9em}
@media (min-width:640px){.twp-cnav__cats--gift,.twp-cnav__cats--raw{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.twp-cnav__cats--raw .twp-cnav__name{-webkit-line-clamp:2;min-height:2.6em}}
/* flags: pictures (assets/flags, flag-icons MIT), the same on every device; emoji flags show as letters on Windows */
.twp-flag{display:inline-block;width:20px;height:15px;border-radius:3px;box-shadow:0 0 0 1px rgba(17,24,39,.14);vertical-align:-2px;object-fit:cover;background:#f3f4f6}
.twp-sugg .twp-flag{width:16px;height:12px;vertical-align:-1px;border-radius:2px}
/* theme rule ".woocommerce ul.products li.product a img" stretches every picture in a product card to full width: keep the flag small */
.woocommerce ul.products li.product .twp-card-meta img.twp-flag,ul.products li.product .twp-card-meta img.twp-flag,.twp-card-meta img.twp-flag,.twp-origin img.twp-flag{display:inline-block!important;width:20px!important;height:15px!important;max-width:none!important;margin:0 2px 0 0!important;padding:0!important;border:0!important;vertical-align:-2px!important;box-shadow:0 0 0 1px rgba(17,24,39,.14)!important;border-radius:3px!important;opacity:1!important;transform:none!important}
.twp-origin{white-space:nowrap}
/* search suggestions */
.twp-cnav__search{position:relative}
.twp-sugg{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:#fff;border:1px solid #e3ded6;border-radius:14px;box-shadow:0 12px 30px rgba(31,36,48,.14);padding:6px 0;max-height:70vh;overflow:auto;text-align:left}
.twp-sugg h6{margin:8px 14px 2px;font-size:12.5px;line-height:1.4;color:#6b7280;font-weight:600}
.twp-sugg a{display:flex;align-items:center;gap:10px;padding:8px 14px;color:#1F2430!important;text-decoration:none!important;font-size:15px;line-height:1.35}
.twp-sugg a:hover,.twp-sugg a.is-act{background:#FFF5F0}
.twp-sugg i{flex:none;width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:#F6F1EC;font-style:normal;overflow:hidden}
.twp-sugg i img{width:100%;height:100%;object-fit:cover;margin:0}
.twp-sugg span{min-width:0;display:grid}
.twp-sugg small{color:#6b7280;font-size:12.5px}
.twp-sugg mark{background:none;color:#D9434E;font-weight:600;padding:0}
.twp-sugg a.twp-sugg__all{border-top:1px solid #f0ebe5;margin-top:4px;color:#D9434E!important;font-weight:600;font-size:14px}
/* เคยจอง */
.twp-again{margin:0 0 18px;min-width:0}
.twp-again__h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 8px}
.twp-again__h b{font-size:16px}
.twp-again__h a{font-size:14px;color:#D9434E!important;text-decoration:none!important}
.twp-again__row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:10px;overflow-x:auto;padding:0 0 6px;scroll-snap-type:x proximity}
.twp-again__card{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #e7e2dc;border-radius:14px;background:#fff;min-width:0;scroll-snap-align:start}
.twp-again__img{flex:none;width:56px;height:56px;border-radius:10px;overflow:hidden;background:#f4efe9}
.twp-again__img img{width:100%;height:100%;object-fit:cover;margin:0}
.twp-again__t{min-width:0;display:grid;gap:2px;justify-items:start}
.twp-again__t>a{font-size:14px;line-height:1.3;color:#1F2430!important;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.twp-again__t small{font-size:12px;color:#6b7280}
.twp-again__t form{margin:3px 0 0}
.twp-again__btn{border:0;border-radius:99px;background:#22B89A;color:#fff;font-size:13px;font-weight:600;line-height:1.2;padding:6px 14px;min-height:32px;cursor:pointer}
.twp-again__btn.is-in{background:#E6F6F1;color:#11745F}
.twp-again__out{font-size:12.5px;color:#8B92A0}
@media (min-width:1024px){.twp-again__row{grid-auto-columns:calc((100% - 30px) / 4)}}
/* sidebar: computer screens only */
.twp-cside{display:none}
@media (min-width:1024px){
	.twp-has-side .ast-woocommerce-container{display:grid;grid-template-columns:250px minmax(0,1fr) auto;grid-template-rows:repeat(14,auto) 1fr;column-gap:28px;align-items:start}
	.twp-has-side .ast-woocommerce-container::before,.twp-has-side .ast-woocommerce-container::after{display:none}
	.twp-has-side .ast-woocommerce-container>*{grid-column:2/4;min-width:0}
	.twp-has-side .ast-woocommerce-container>.twp-cside{display:block;grid-column:1;grid-row:1/-1}
	.twp-has-side .ast-woocommerce-container>.woocommerce-result-count{grid-column:2;align-self:center;margin:0 0 14px}
	.twp-has-side .ast-woocommerce-container>.woocommerce-ordering{grid-column:3;justify-self:end;margin:0 0 14px}
	.twp-has-side .twp-cnav__secs,.twp-has-side .twp-cnav__cats--gift,.twp-has-side .twp-cnav__cats--raw,.twp-has-side .twp-cnav__subs,.twp-has-side .twp-cnav__chip--from{display:none}
	.twp-has-side .twp-cnav__search{max-width:none}
}
.twp-cside{background:#fff;border:1px solid #ece7e1;border-radius:18px;padding:12px 10px 14px;font-size:15px;margin:0 0 24px}
.twp-cside__secs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#EFE9E2;border-radius:12px;margin:0 0 6px}
.twp-cside__secs a{display:flex;justify-content:center;align-items:center;gap:5px;min-height:40px;border-radius:9px;color:#5B6472!important;text-decoration:none!important;font-weight:600;font-size:14.5px}
.twp-cside__secs a.is-on{background:#fff;color:#D9434E!important;box-shadow:0 1px 4px rgba(31,36,48,.13)}
.twp-cside--raw .twp-cside__secs a.is-on{color:#11745F!important}
.twp-cside__h{margin:14px 8px 4px;font-size:13.5px;font-weight:600;color:#6b7280}
.twp-cside__row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:#1F2430!important;text-decoration:none!important;line-height:1.3}
.twp-cside__row:hover{background:#F7F3EE}
.twp-cside__i{flex:none;width:24px;display:grid;place-items:center;color:#D9434E}
.twp-cside--raw .twp-cside__i{color:#1A9A80}
.twp-cside__i .twp-ic{width:20px;height:20px}
.twp-cside__row--c .twp-cside__i{display:block;text-align:center}
.twp-cside__n{flex:1;min-width:0}
.twp-cside__row em{font-style:normal;font-size:13px;color:#8B92A0}
.twp-cside__row.is-on{background:#FFF1F2;font-weight:600;color:#D9434E!important}
.twp-cside--raw .twp-cside__row.is-on{background:#E6F6F1;color:#11745F!important}
.twp-cside__row--sub{padding-left:44px;font-size:14px}
.twp-cside__row--sub .twp-cside__i{display:none}
.twp-cside__box{flex:none;width:18px;height:18px;border:1.5px solid #cfc8bf;border-radius:5px;background:#fff}
.twp-cside__row--c.is-on{background:transparent;color:#1F2430!important}
.twp-cside__row--c.is-on .twp-cside__box{border-color:#22B89A;background:#22B89A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat}
.twp-cside details summary{list-style:none;cursor:pointer;padding:8px 10px;color:#D9434E;font-size:14px;font-weight:600}
.twp-cside details summary::-webkit-details-marker{display:none}
.twp-cside details[open] summary{display:none}
/* 1.17.0 home page header [twp_home_hero]: phone layout first, wider layouts by the space the header gets */
.twp-hh{container:twphh/inline-size;background:#FFF4EA;border-radius:20px;padding:22px 16px 20px;margin:0 0 20px;color:#1F2430;text-align:left}
.twp-hh__nw{white-space:nowrap}
.twp-hh__eye{display:inline-block;background:#fff;border:1.5px solid #F6C9CC;border-radius:99px;padding:3px 12px;font-size:13px;font-weight:600;line-height:1.5;color:#D9434E}
.twp-hh .twp-hh__h1{font-size:26px;line-height:1.25;margin:9px 0 4px;font-weight:600;color:#1F2430;letter-spacing:0}
.twp-hh .twp-hh__h1 em{font-style:normal;color:#E04E58}
.twp-hh .twp-hh__h1 .twp-hh__raw{color:#0F8F76}
.twp-hh__br{display:none}
.twp-hh .twp-hh__lead{font-size:15px;line-height:1.5;color:#4B5563;margin:0 0 14px}
.twp-hh__groups{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.twp-hh__grp{container:twpgrp/inline-size;background:#fff;border-radius:16px;padding:14px 14px 12px;border-top:5px solid #F05A64;box-shadow:0 2px 10px rgba(80,60,40,.06);min-width:0}
.twp-hh__grp--raw{border-top-color:#22B89A}
.twp-hh__gk{font-size:13px;line-height:1.5;color:#6B7280;font-weight:600}
.twp-hh .twp-hh__h2{margin:2px 0 4px;font-size:20px;line-height:1.3;font-weight:600;color:#E04E58}
.twp-hh .twp-hh__grp--raw .twp-hh__h2{color:#0F7D68}
.twp-hh .twp-hh__p{margin:0 0 10px;color:#4B5563;font-size:14px;line-height:1.55}
.twp-hh__types{display:grid;gap:7px 10px;grid-template-columns:minmax(0,1fr)}
.twp-hh__ty{display:flex;gap:10px;align-items:center;border:1.5px solid #E7E2DA;border-radius:15px;padding:8px 10px;background:#FFFDFB;color:#1F2430!important;text-decoration:none!important;min-width:0;transition:border-color .15s,box-shadow .15s}
.twp-hh__ty:hover,.twp-hh__ty:focus-visible{border-color:#F05A64;box-shadow:0 4px 12px rgba(240,90,100,.12)}
.twp-hh__grp--raw .twp-hh__ty:hover,.twp-hh__grp--raw .twp-hh__ty:focus-visible{border-color:#22B89A;box-shadow:0 4px 12px rgba(34,184,154,.14)}
.twp-hh__ty.is-me{border-color:#F05A64}
.twp-hh__grp--raw .twp-hh__ty.is-me{border-color:#22B89A}
.twp-hh__ty i{font-style:normal;font-size:23px;line-height:1;width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:#FFF1EE}
.twp-hh__grp--raw .twp-hh__ty i{background:#E9F8F3}
.twp-hh__ty>span:not(.twp-hh__ar){min-width:0;flex:1}
.twp-hh__ty b{display:block;font-size:15.5px;line-height:1.3;white-space:nowrap}
.twp-hh__ty small{display:block;color:#6B7280;font-size:13px;line-height:1.35}
.twp-hh__ty b .twp-hh__me{display:inline-block;font-size:11.5px;font-weight:600;color:#fff;background:#F05A64;border-radius:99px;padding:0 7px;margin-left:4px;vertical-align:2px}
.twp-hh__grp--raw .twp-hh__ty b .twp-hh__me{background:#22B89A}
.twp-hh__ar{margin-left:auto;color:#B9B2A8;font-size:20px;flex:none}
.twp-hh ul.twp-hh__trust{display:flex;flex-direction:column;gap:5px;margin:14px 4px;padding:0;list-style:none;color:#4B5563;font-size:14px;line-height:1.5}
.twp-hh ul.twp-hh__trust li{margin:0}
.twp-hh__long{display:none}
.twp-hh__ctas{display:flex;flex-direction:column;align-items:stretch;gap:9px}
.twp-hh__btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:99px;padding:10px 16px;font-size:16px;font-weight:600;line-height:1.2;border:2px solid #F05A64;text-decoration:none!important;white-space:nowrap}
.twp-hh__btn--p{background:#F05A64;color:#fff!important;box-shadow:0 4px 12px rgba(240,90,100,.3)}
.twp-hh__btn--p:hover{background:#D9434E;border-color:#D9434E}
.twp-hh__btn--o{background:#fff;color:#E04E58!important}
.twp-hh__line{color:#0B8F3A!important;font-weight:600;font-size:15px;text-decoration:none!important;padding:8px 4px;text-align:center}
@media (min-width:641px){.twp-hh{border-radius:26px;padding:28px 24px 24px;margin:8px 0 28px}}
@media (min-width:922px){.twp-hh{padding:40px 44px 34px}}
@container twphh (min-width:560px){
	.twp-hh__eye{font-size:14px;padding:4px 14px}
	.twp-hh .twp-hh__h1{font-size:34px;margin:12px 0 8px}
	.twp-hh .twp-hh__lead{font-size:17px;margin-bottom:20px}
	.twp-hh__grp{padding:20px 20px 18px;border-radius:20px}
	.twp-hh .twp-hh__h2{font-size:23px}
	.twp-hh .twp-hh__p{font-size:15.5px;margin-bottom:14px}
	.twp-hh__ty{padding:11px 12px}
	.twp-hh__ty i{width:46px;height:46px;font-size:28px}
	.twp-hh__ty b{font-size:16.5px}
	.twp-hh ul.twp-hh__trust{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px 26px;margin:22px 0 18px;font-size:15px}
	.twp-hh__long{display:inline}
	.twp-hh__ctas{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
	.twp-hh__btn{font-size:17px;padding:10px 30px}
}
@container twphh (min-width:940px){
	.twp-hh .twp-hh__h1{font-size:44px}
	.twp-hh__br{display:inline}
	.twp-hh .twp-hh__lead{font-size:18px;margin-bottom:24px}
	.twp-hh__groups{grid-template-columns:3fr 2fr;gap:18px}
	.twp-hh .twp-hh__h2{font-size:25px}
}
@container twpgrp (min-width:480px){.twp-hh__grp--gift .twp-hh__types{grid-template-columns:repeat(3,minmax(0,1fr))}.twp-hh__grp--gift .twp-hh__ar{display:none}}
@container twpgrp (min-width:320px){.twp-hh__grp--raw .twp-hh__types{grid-template-columns:repeat(2,minmax(0,1fr))}.twp-hh__grp--raw .twp-hh__ar{display:none}}
@container twpgrp (min-width:320px) and (max-width:700px){.twp-hh__ty{padding:10px}.twp-hh__ty i{width:40px;height:40px;font-size:24px}}
/* 1.18.0 icons: one SVG set instead of emoji (DESIGN.md): a line icon in the section colour on a soft tint */
.twp-ic{display:block;flex:none;width:24px;height:24px;overflow:visible}
.twp-ic__t{fill:none}
.twp-cnav__bhead .twp-cnav__sico{width:40px;height:40px;border-radius:12px;background:#FFF1F2;color:#D9434E}
.twp-cnav__block--raw .twp-cnav__bhead .twp-cnav__sico{background:#E6F6F1;color:#1A9A80}
.twp-cnav__name .twp-cnav__nw{display:inline-block;white-space:normal}
.twp-cnav__name{-webkit-line-clamp:3}
.twp-cside__secs a .twp-ic{width:18px;height:18px}
.twp-sugg i.twp-sugg__cat{background:#FFF1F2;color:#D9434E}
.twp-sugg i.twp-sugg__cat--raw{background:#E6F6F1;color:#1A9A80}
.twp-sugg i .twp-ic{width:22px;height:22px}
/* tiles: the count sits at the bottom so counts line up when a name takes 3 lines */
.twp-cnav__cat{grid-template-rows:auto auto 1fr}
.twp-cnav__cat em{align-self:end}
/* home on a computer: both boxes' tiles in equal columns (6 across in each box on the live page) */
@media (min-width:768px){.twp-cnav--home .twp-cnav__cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));overflow:visible}.twp-cnav--home .twp-cnav__cat{min-width:0;padding:10px 4px 8px}}
/* very small phones: raw materials in 3 columns so names are not chopped into 4 lines */
@media (max-width:359px){.twp-cnav__cats--raw{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* suggestion rows: the name is one piece (the highlighted letters used to drop onto their own line) */
.twp-sugg b.twp-sugg__n{display:block;font-weight:400}
/* interface icons (1.19.0): business types, shortcut chips, home header, เคยจอง; one SVG set with the categories (DESIGN.md) */
.twp-cnav__chip .twp-ic{width:16px;height:16px;color:#D9434E}
.twp-cnav--raw .twp-cnav__chip .twp-ic,.twp-cnav__chip--from .twp-ic{color:#1A9A80}
.twp-cnav__chip.is-on .twp-ic{color:currentColor}
.twp-cnav__chip{gap:6px}
.twp-cnav__chip .twp-flag{width:18px;height:13.5px;vertical-align:0}
.twp-cnav__whochip .twp-ic{width:17px;height:17px}
.twp-hh__ty i{color:#D9434E;background:#FFF1F2}
.twp-hh__grp--raw .twp-hh__ty i{color:#1A9A80;background:#E6F6F1}
.twp-hh__ty i .twp-ic{width:22px;height:22px}
.twp-hh ul.twp-hh__trust li{display:flex;align-items:flex-start;gap:8px}
.twp-hh__trust .twp-ic{width:18px;height:18px;color:#D9434E;margin-top:2px}
.twp-hh__line{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.twp-hh__line .twp-ic{width:18px;height:18px}
.twp-again__h b{display:inline-flex;align-items:center;gap:7px}
.twp-again__h .twp-ic{width:18px;height:18px;color:#D9434E}
.twp-cnav--raw .twp-again__h .twp-ic,.twp-again--raw .twp-again__h .twp-ic{color:#1A9A80}
.twp-cside__i--flag .twp-flag{display:block;margin:0 auto}
@media (min-width:641px){.twp-hh__ty i .twp-ic{width:26px;height:26px}.twp-hh ul.twp-hh__trust li{align-items:center}.twp-hh__trust .twp-ic{margin-top:0}}

