/* TIFNEX quote list */
.tfxq-add{font-family:"Adelle Sans",sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tfxq-add svg{width:18px;height:18px;flex:none}
.tfxq-add--icon{position:absolute;top:10px;right:10px;z-index:7;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #E2E2E2;border-radius:50%;background:#fff;color:#0D2466;box-shadow:0 6px 16px -8px rgba(7,17,73,.45);transition:background-color .25s,color .25s,transform .3s cubic-bezier(.22,1,.36,1)}
.tfxq-add--icon:hover{background:#0D2466;color:#fff;transform:scale(1.06)}
.tfxq-add--icon.in{background:#0D2466;border-color:#0D2466;color:#fff}
.tfxq-add:focus-visible,.tfxq-fab:focus-visible,.tfxq-drawer button:focus-visible,.tfxq-drawer a:focus-visible{outline:2px solid #418CC2;outline-offset:3px}
.wd-product .product-element-top{position:relative}

/* product page */
.tfxq-pp{display:flex;gap:10px;margin:18px 0 12px}
.tfxq-pp .qty{flex:none}
.tfxq-add--wide{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:#8CC3DB;color:#0D0E1E;font-size:16px;font-weight:600;text-transform:none;letter-spacing:0;transition:background-color .25s,transform .3s}
.tfxq-add--wide:hover{background:#fff;transform:translateY(-1px)}
.tfxq-add--wide.in{background:#fff}
.tfxq-hint{margin:12px 0 0!important;font-size:13px!important;color:rgba(255,255,255,.65)!important}

/* quantity stepper (shared) */
.tfxq-drawer .qty,.tfxq-pp .qty{display:inline-flex;align-items:center;height:50px;border-radius:999px;border:1px solid #E2E2E2;background:#fff;overflow:hidden}
.tfxq-pp .qty{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.08)}
.tfxq-drawer .qty button,.tfxq-pp .qty button{width:42px;height:100%;border:0;background:none;font-size:20px;line-height:1;color:#0D2466;cursor:pointer;padding:0}
.tfxq-pp .qty button{color:#fff}
.tfxq-drawer .qty input,.tfxq-pp .qty input{width:52px!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;text-align:center;font-family:"Adelle Sans",sans-serif;font-size:16px!important;font-weight:600;color:#0D0E1E;-moz-appearance:textfield}
.tfxq-pp .qty input{color:#fff!important}
.tfxq-drawer .qty input::-webkit-inner-spin-button,.tfxq-pp .qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* floating button */
.tfxq-fab{position:fixed;right:20px;bottom:24px;z-index:9990;display:none;align-items:center;gap:10px;min-height:54px;padding:0 10px 0 18px;border:0;border-radius:999px;background:#0D0E1E;color:#fff;font-family:"Adelle Sans",sans-serif;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 18px 40px -16px rgba(7,17,73,.7);transition:transform .3s cubic-bezier(.22,1,.36,1)}
.tfxq-fab.show{display:inline-flex}
.tfxq-fab:hover{transform:translateY(-2px)}
.tfxq-fab svg{width:20px;height:20px;color:#8CC3DB}
.tfxq-fab .n{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:999px;background:#8CC3DB;color:#0D0E1E;font-size:14px}

/* toast */
.tfxq-toast{position:fixed;left:50%;bottom:92px;z-index:9995;display:flex;align-items:center;gap:14px;max-width:calc(100% - 32px);padding:12px 12px 12px 18px;border-radius:14px;background:#0D0E1E;color:#fff;font-family:"Adelle Sans",sans-serif;font-size:14px;box-shadow:0 18px 40px -16px rgba(7,17,73,.7);opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity .25s,transform .3s cubic-bezier(.22,1,.36,1)}
.tfxq-toast.on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.tfxq-toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfxq-toast button{flex:none;min-height:36px;padding:0 14px;border:0;border-radius:999px;background:#fff;color:#0D0E1E;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}

/* drawer */
html.tfxq-lock,html.tfxq-lock body{overflow:hidden!important}
.tfxq-drawer{position:fixed;inset:0;z-index:100001;font-family:"Adelle Sans",sans-serif}
.tfxq-drawer[hidden]{display:none}
.tfxq-scrim{position:absolute;inset:0;background:rgba(13,14,30,.55);opacity:0;transition:opacity .25s}
.tfxq-drawer.on .tfxq-scrim{opacity:1}
.tfxq-panel{position:absolute;top:0;right:0;bottom:0;width:min(460px,100%);display:flex;flex-direction:column;background:#fff;box-shadow:-20px 0 60px -20px rgba(7,17,73,.5);transform:translateX(100%);transition:transform .35s cubic-bezier(.22,1,.36,1)}
.tfxq-drawer.on .tfxq-panel{transform:none}
.tfxq-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 18px;border-bottom:1px solid #E2E2E2}
.tfxq-eb{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#418CC2}
.tfxq-head h2{margin:0;font-size:24px;line-height:1.15;font-weight:700;text-transform:uppercase;color:#0D0E1E}
.tfxq-close{display:grid;place-items:center;width:42px;height:42px;flex:none;border:0;border-radius:50%;background:#F4F6F9;color:#0D0E1E;cursor:pointer;padding:0}
.tfxq-close svg{width:18px;height:18px}
.tfxq-body{flex:1;overflow-y:auto;padding:8px 24px;-webkit-overflow-scrolling:touch}
.tfxq-items{list-style:none;margin:0;padding:0}
.tfxq-items li{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:start;margin:0;padding:16px 0;border-bottom:1px solid #EDF0F5}
.tfxq-items img,.tfxq-items .ph{width:64px;height:64px;border-radius:12px;object-fit:contain;background:#F4F6F9;border:1px solid #EDF0F5}
.tfxq-items .tx{min-width:0}
.tfxq-items .tx a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35;font-weight:600;color:#0D0E1E!important;text-decoration:none!important}
.tfxq-items .sku{display:block;margin:4px 0 10px;font-size:12px;color:#5B6478}
.tfxq-items .qty{height:40px}
.tfxq-items .qty button{width:36px}
.tfxq-items .qty input{width:46px!important}
.tfxq-items .rm{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:none;color:#8A93A6;cursor:pointer;padding:0}
.tfxq-items .rm:hover{background:#F4F6F9;color:#C62828}
.tfxq-items .rm svg{width:16px;height:16px}
.tfxq-foot{display:grid;gap:10px;padding:16px 24px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #E2E2E2;background:#fff}
.tfxq-foot:empty{display:none}
.tfxq-sum{margin:0 0 4px;font-size:14px;color:#5B6478}
.tfxq-sum b{color:#0D0E1E}
.tfxq-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;background:#0D0E1E;color:#fff!important;font-size:16px;font-weight:600;text-decoration:none!important;transition:background-color .25s}
.tfxq-btn:hover{background:#0D2466}
.tfxq-btn svg{width:20px;height:20px}
.tfxq-btn--wa{background:#fff;color:#0D0E1E!important;border:1px solid #E2E2E2}
.tfxq-btn--wa svg{color:#1FAF38}
.tfxq-btn--wa:hover{background:#F4F6F9}
.tfxq-clear{justify-self:center;padding:6px 10px;border:0;background:none;font-family:inherit;font-size:14px;color:#5B6478;text-decoration:underline;cursor:pointer}
.tfxq-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:56px 12px}
.tfxq-empty>svg{width:48px;height:48px;color:#8CC3DB}
.tfxq-empty p{margin:0;font-size:15px;line-height:1.55;color:#5B6478}
.tfxq-empty p b{display:block;margin-bottom:4px;font-size:18px;color:#0D0E1E}

/* contact page note */
.tfxq-note{margin:0 0 18px;padding:14px 16px;border-radius:14px;background:#EEF2F8;border:1px solid #D5DEEA;font-family:"Adelle Sans",sans-serif;font-size:15px;line-height:1.5;color:#0D2466}
.tfx-bom input[type=file]{display:block;width:100%;margin-top:8px;padding:12px!important;border:1.5px dashed #C9D3E1!important;border-radius:12px!important;background:#F7F9FC!important;font-size:14px!important;cursor:pointer}

@media (max-width:767px){
 .tfxq-add--icon{top:8px;right:8px;width:34px;height:34px}
 .tfxq-add--icon svg{width:16px;height:16px}
 .tfxq-fab{right:12px;bottom:84px;min-height:50px;padding:0 8px 0 16px}
 .tfxq-fab .t{display:none}
 .tfxq-fab{padding-left:14px}
 .tfxq-toast{bottom:144px}
 .tfxq-panel{top:auto;height:88vh;width:100%;border-radius:22px 22px 0 0;transform:translateY(100%)}
 .tfxq-head{padding:20px 20px 14px}
 .tfxq-body{padding:4px 20px}
 .tfxq-foot{padding:14px 20px calc(16px + env(safe-area-inset-bottom))}
 .tfxq-pp{flex-wrap:nowrap;gap:8px;margin:14px 0 10px}
}
@media (prefers-reduced-motion:reduce){.tfxq-panel,.tfxq-scrim,.tfxq-toast,.tfxq-fab,.tfxq-add--icon{transition:none}}

/* ---- hard reset against theme button styles ---- */
html body button.tfxq-fab{position:fixed!important;left:auto!important;right:20px!important;bottom:24px!important;display:none!important;align-items:center!important;gap:10px!important;min-height:54px!important;height:auto!important;width:auto!important;padding:0 10px 0 18px!important;border:0!important;border-radius:999px!important;background:#0D0E1E!important;color:#fff!important;font-family:"Adelle Sans",sans-serif!important;font-size:15px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;box-shadow:0 18px 40px -16px rgba(7,17,73,.7)!important;line-height:1!important}
html body button.tfxq-fab.show{display:inline-flex!important}
html body button.tfxq-fab .n{background:#8CC3DB!important;color:#0D0E1E!important}
html body .tfxq-drawer button,html body .tfxq-pp button,html body button.tfxq-add{text-transform:none!important;letter-spacing:0!important;font-family:"Adelle Sans",sans-serif!important;line-height:1!important;box-shadow:none;min-height:0}
html body .tfxq-drawer button.tfxq-close{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#F4F6F9!important;color:#0D0E1E!important}
html body .tfxq-drawer button.tfxq-close svg{width:18px!important;height:18px!important;display:block}
html body .tfxq-drawer button.tfxq-clear{min-height:0!important;height:auto!important;padding:6px 10px!important;border:0!important;background:none!important;color:#5B6478!important;font-size:14px!important;font-weight:400!important;text-decoration:underline!important}
html body .tfxq-drawer .qty button,html body .tfxq-pp .qty button{width:42px!important;height:100%!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#0D2466!important;font-size:20px!important;min-height:0!important}
html body .tfxq-pp .qty button{color:#fff!important}
html body .tfxq-items .qty button{width:36px!important}
html body .tfxq-drawer button.rm{width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:none!important;color:#8A93A6!important}
html body button.tfxq-add--icon{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;margin:0!important;z-index:7!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid #E2E2E2!important;border-radius:50%!important;background:#fff!important;color:#0D2466!important;box-shadow:0 6px 16px -8px rgba(7,17,73,.45)!important}
html body button.tfxq-add--icon:hover,html body button.tfxq-add--icon.in{background:#0D2466!important;border-color:#0D2466!important;color:#fff!important}
html body button.tfxq-add--wide{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:50px!important;height:50px!important;padding:0 20px!important;border:0!important;border-radius:999px!important;background:#8CC3DB!important;color:#0D0E1E!important;font-size:16px!important;font-weight:600!important}
html body button.tfxq-add--wide:hover,html body button.tfxq-add--wide.in{background:#fff!important}
html body .tfxq-toast button{min-height:36px!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:#fff!important;color:#0D0E1E!important;font-size:14px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
@media (max-width:767px){
 html body button.tfxq-fab{right:12px!important;bottom:84px!important;min-height:50px!important;padding:0 8px 0 14px!important}
 html body button.tfxq-add--icon{width:34px!important;height:34px!important;top:8px!important;right:8px!important}
}
@media (max-width:767px){
 html body .tfxq-pp .qty{height:48px!important}
 html body .tfxq-pp .qty button{width:34px!important}
 html body .tfxq-pp .qty input{width:38px!important}
 html body button.tfxq-add--wide{flex:1 1 auto!important;min-width:0!important;height:48px!important;min-height:48px!important;padding:0 14px!important;font-size:15px!important;white-space:nowrap!important}
}
html body:has(.tfxq-fab.show) .scrollToTop{bottom:92px!important}
@media (max-width:767px){html body:has(.tfxq-fab.show) .scrollToTop{bottom:146px!important}}
