/* =====================================================================
   SDGM VERSION 3 - GLOBAL STYLES (from the "Presentation Zoom SDGM" deck)
   Paste into: Global > Edit CSS  (REPLACE everything there, incl. the V2 CSS)
   New pieces use "sv3-" class names so they won't clash with
   DistributorCentral's own styles.
   Colors: deck blue #142B7B, coral #F46C5E, navy #0F1F5C
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500;600;700;800&family=Figtree:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

*{box-sizing:border-box}
body{margin:0;background:#FFFFFF;overflow-x:hidden;font-family:'Figtree',system-ui,sans-serif;color:#0F1F5C}

/* ---------- shared ---------- */
.sv3,.sv3 *{box-sizing:border-box}
.sv3{font-family:'Figtree',system-ui,sans-serif;color:#0F1F5C;font-size:16px;line-height:1.5}
.sv3 a{color:#0F1F5C}
.sv3 a:hover{color:#C2412E}
.sv3 h1,.sv3 h2,.sv3 h3{font-family:'Kanit',sans-serif;text-transform:none;margin:0}
.sv3 p{margin:0}
.sv3 img{max-width:none}
.sv3-bleed{width:100%}
.sv3-wrap{max-width:1240px;margin:0 auto;padding-left:24px;padding-right:24px}
.sv3-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sv3-h2{font-family:'Kanit',sans-serif;font-weight:700;font-size:clamp(32px,4vw,50px);line-height:1.05;letter-spacing:-.5px;margin:0;color:#0F1F5C}
.sv3-kicker{font-weight:800;font-size:14px;letter-spacing:.6px;text-transform:uppercase;color:#C2412E}
.sv3-btn{display:inline-block;text-decoration:none !important;font-weight:800;font-size:16px;line-height:1.2;padding:14px 24px;border-radius:999px;border:2px solid #0F1F5C;transition:transform .2s cubic-bezier(.3,1.7,.5,1)}
.sv3-btn:hover{transform:translateY(-2px)}
.sv3-btn-coral{background:#F46C5E;color:#0F1F5C !important}
.sv3-btn-coral:hover{background:#FFC94D;color:#0F1F5C !important}
.sv3-btn-blue{background:#142B7B;color:#FFFFFF !important}
.sv3-btn-blue:hover{background:#0F1F5C;color:#FFFFFF !important}
.sv3-btn-white{background:#FFFFFF;color:#0F1F5C !important}
.sv3-btn-white:hover{background:#E9EDFA;color:#0F1F5C !important}
.sv3-btn-ghost{background:transparent;color:#FFFFFF !important;border-color:#FFFFFF}
.sv3-btn-ghost:hover{background:#FFFFFF;color:#142B7B !important}
.sv3-script{font-family:'Caveat',cursive;font-weight:700}

/* ---------- 1. notice bar ---------- */
.sv3-notice{background:#F46C5E;color:#0F1F5C;font-size:14px;font-weight:700}
.sv3-notice .sv3-wrap{display:flex;flex-wrap:wrap;gap:6px 24px;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.sv3-notice a{color:#0F1F5C !important;text-decoration:underline}

/* ---------- 2. header: logo, search, phone, account, cart ---------- */
.sv3-head{background:#FFFFFF;position:relative;z-index:61}
.sv3-head .sv3-wrap{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;padding-top:16px;padding-bottom:14px}
.sv3-logo{flex:none;display:block;color:#0C2C84 !important;line-height:0}
.sv3-logo img{height:84px;width:auto;display:block}
.sv3-search{flex:999 1 380px;min-width:0;display:flex;align-items:center;border:2px solid #0F1F5C;border-radius:999px;padding:4px;background:#FFFFFF;margin:0}
.sv3-search:focus-within{box-shadow:0 0 0 4px #D3DAF5}
.sv3-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:500 16px 'Figtree',sans-serif;color:#0F1F5C;padding:0 16px;height:44px;box-shadow:none}
.sv3-search button{flex:none;height:44px;padding:0 24px;border-radius:999px;border:2px solid #0F1F5C;background:#F46C5E;color:#0F1F5C;font:800 16px 'Figtree',sans-serif;cursor:pointer}
.sv3-search button:hover{background:#FFC94D}
.sv3-headlinks{flex:none;display:flex;gap:4px;align-items:center}
.sv3-headlinks a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none !important;font-size:12px;font-weight:700;color:#0F1F5C !important;padding:6px 10px;border-radius:12px;min-width:48px}
.sv3-headlinks a:hover{background:#E9EDFA}
.sv3-headlinks .sv3-phone{flex-direction:row;gap:8px;font-size:16px;font-weight:800}

/* ---------- 3. category bar + mega menu ---------- */
.sv3-catbar{background:#FFFFFF;border-top:1px solid #DCE1F2;border-bottom:2px solid #0F1F5C;position:relative;z-index:60}
.sv3-catbar .sv3-wrap{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding-top:8px;padding-bottom:8px}
.sv3-navlink{text-decoration:none !important;font-weight:700;font-size:15px;padding:10px 14px;border-radius:999px;color:#0F1F5C !important;white-space:nowrap}
.sv3-navlink:hover{background:#E9EDFA}
.sv3-catbar .sv3-quote{margin-left:auto;padding:11px 20px;font-size:15px}
.sv3-mm{position:relative}
.sv3-mm-btn{display:flex;align-items:center;gap:10px;background:#142B7B;color:#FFFFFF;border:2px solid #0F1F5C;border-radius:999px;font:800 15px 'Figtree',sans-serif;padding:10px 18px;min-height:44px;cursor:pointer}
.sv3-mm:hover .sv3-mm-btn,.sv3-mm:focus-within .sv3-mm-btn{background:#0F1F5C}
.sv3-mm-panel{display:none;position:absolute;left:0;top:100%;width:94vw;max-width:1100px;padding-top:10px}
.sv3-mm:hover .sv3-mm-panel,.sv3-mm:focus-within .sv3-mm-panel{display:block}
.sv3-mm-inner{background:#FFFFFF;border:2px solid #0F1F5C;border-radius:24px;box-shadow:8px 8px 0 #F46C5E;padding:28px;display:flex;flex-wrap:wrap;gap:28px}
.sv3-mm-cols{flex:3 1 600px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 28px}
.sv3-mm-cols b{display:block;font-family:'Kanit',sans-serif;font-weight:700;font-size:18px;margin-bottom:6px}
.sv3-mm-cols a{display:block;text-decoration:none;color:#4A5478 !important;font-size:15px;padding:4px 0}
.sv3-mm-cols a:hover{color:#C2412E !important}
.sv3-mm-promo{flex:1 1 240px;text-decoration:none !important;background:#142B7B;border:2px solid #0F1F5C;border-radius:20px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;color:#FFFFFF !important;position:relative;overflow:hidden}
.sv3-mm-promo:before{content:"";position:absolute;right:-90px;bottom:-110px;width:240px;height:240px;border-radius:50%;border:40px solid #F46C5E}
.sv3-mm-promo > *{position:relative}
.sv3-mm-promo strong{font-family:'Kanit',sans-serif;font-weight:700;font-size:26px;line-height:1.05}
.sv3-tag{align-self:flex-start;display:inline-block;background:#FFFFFF;border:2px solid #0F1F5C;border-radius:999px;padding:3px 12px;font-size:13px;font-weight:800;color:#0F1F5C}

/* ---------- 5. footer ---------- */
.sv3-foot{background:#142B7B;color:#FFFFFF;position:relative;overflow:hidden}
.sv3-foot a{color:#D3DAF5 !important;text-decoration:none}
.sv3-foot a:hover{color:#FFC94D !important}
.sv3-foot-arc{position:absolute;right:-300px;bottom:-560px;width:900px;height:900px;border-radius:50%;border:100px solid #F46C5E;opacity:.9}
.sv3-foot > .sv3-wrap{position:relative;padding-top:72px;padding-bottom:36px}
.sv3-foot-top{display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:space-between}
.sv3-foot-main{flex:999 1 560px;min-width:0}
.sv3-foot-logo{display:block;color:#FFFFFF !important;line-height:0;margin:0 0 36px}
.sv3-foot-logo img{height:96px;width:auto;display:block}
.sv3.sv3-foot h2{font-weight:800;font-size:clamp(36px,5vw,60px);margin:0 0 8px;color:#FFFFFF;line-height:1.05}
.sv3 .sv3-foot-lead{margin:0 0 36px;color:#D3DAF5;font-size:18px}
.sv3-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;max-width:900px}
.sv3-contact{display:flex;gap:14px;align-items:flex-start}
.sv3-contact > span{flex:none;width:52px;height:52px;border-radius:50%;background:#FFFFFF;color:#0F1F5C;display:flex;align-items:center;justify-content:center;transition:transform .25s cubic-bezier(.3,1.7,.5,1)}
.sv3-contact:hover > span{transform:rotate(-10deg) scale(1.08)}
.sv3-contact div{display:flex;flex-direction:column;line-height:1.7}
.sv3-contact em{font-style:normal;color:#D3DAF5}
.sv3-foot-side{flex:1 1 260px;display:flex;flex-direction:column;align-items:center;gap:22px}
.sv3-badge-wrap{position:relative;width:230px;height:230px;transition:transform .3s cubic-bezier(.3,1.7,.5,1)}
.sv3-badge-wrap:hover{transform:scale(1.06) rotate(-4deg)}
.sv3-badge-ring{width:230px;height:230px;display:block}
.sv3-badge-icon{position:absolute;left:50%;top:50%;width:104px;height:104px;margin:-52px 0 0 -52px}
.sv3 .sv3-foot-side .sv3-btn{border-color:#FFFFFF;box-shadow:5px 5px 0 #0F1F5C}
.sv3-foot-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px;margin-top:56px;max-width:760px;font-size:15px}
.sv3-foot-cols div{display:flex;flex-direction:column;gap:8px}
.sv3-foot-cols strong{font-family:'Kanit',sans-serif;font-size:18px;color:#F46C5E}
.sv3-foot-cols em{font-style:normal;color:#D3DAF5}
.sv3-foot-bottom{border-top:1px solid #3A4E9A;margin-top:28px;padding-top:20px;font-size:14px;color:#D3DAF5}
.sv3-spin{animation:sv3spin 22s linear infinite;transform-origin:50% 50%}
.sv3-twinkle{position:absolute;pointer-events:none;animation:sv3twinkle 4.5s ease-in-out infinite}
@keyframes sv3spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes sv3twinkle{0%{transform:translateY(0) scale(1);opacity:1}50%{transform:translateY(-10px) scale(.8);opacity:.55}100%{transform:translateY(0) scale(1);opacity:1}}


/* ---------- 6. phones and tablets ---------- */

/* phones */
@media (max-width:767px){
  .sv3-wrap{padding-left:16px;padding-right:16px}
  .sv3-notice .sv3-wrap{justify-content:center;text-align:center}
  .sv3-logo img{height:52px}
  .sv3-head .sv3-wrap{justify-content:space-between;gap:12px}
  .sv3-search{order:3;flex-basis:100%}
  .sv3-headlinks a{padding:6px;min-width:40px}
  .sv3-headlinks .sv3-phone span{display:none}
  .sv3-catbar .sv3-wrap{flex-wrap:nowrap;gap:8px}
  .sv3-catbar .sv3-navlink{display:none}
  .sv3-mm{flex:1 1 auto;min-width:0;position:static}
  .sv3-mm-btn{width:100%;justify-content:center;white-space:nowrap;font-size:14px;padding:10px 12px}
  .sv3-mm-promo{display:none}
  .sv3-mm-panel{left:0;right:0;width:auto;padding:10px 12px 0}
  .sv3-mm-inner{padding:18px}
  .sv3-mm-cols{grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%}
  .sv3-catbar .sv3-quote{margin-left:0;flex:none;padding:11px 16px}
  .sv3-foot-logo img{height:64px}
  .sv3-twinkle{display:none}
  .sv3-foot-arc{display:none}
}
@media (prefers-reduced-motion:reduce){
  .sv3 *{transition:none !important}
  .sv3-spin,.sv3-twinkle{animation:none}
}
.sv3-acctlink span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- "Let's chat" ---------- */
.chat{position:fixed;right:18px;bottom:18px;z-index:60;font-family:'Figtree',sans-serif}
.chat-fab{display:flex;align-items:center;gap:8px;background:#F46C5E;color:#0F1F5C;border:2px solid #0F1F5C;border-radius:999px;padding:12px 18px;font:800 15px 'Figtree',sans-serif;cursor:pointer;box-shadow:0 6px 18px rgba(15,31,92,.25);position:relative}
.chat-fab:hover{transform:translateY(-1px)}
.chat-new{position:absolute;top:-4px;right:-4px;width:14px;height:14px;border-radius:50%;background:#1B7F4B;border:2px solid #FFFFFF}
.chat-panel{position:absolute;right:0;bottom:62px;width:min(370px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;background:#FFFFFF;border:2px solid #0F1F5C;border-radius:18px;box-shadow:0 12px 32px rgba(15,31,92,.28);overflow:hidden;color:#0F1F5C}
.chat-panel[hidden]{display:none}
.chat-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;background:#0F1F5C;color:#FFFFFF;padding:12px 14px}
.chat-panel header small{display:block;font-size:12px;opacity:.9;margin-top:2px}
.chat-on{display:inline-block;width:8px;height:8px;border-radius:50%;background:#5BD08E;margin-right:4px}
.chat-x{background:none;border:0;color:#FFFFFF;font-size:24px;line-height:1;cursor:pointer}
.chat-body{padding:12px 14px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;flex:1}
.chat-hello{margin:0;background:#F4F6FB;border-radius:12px;padding:10px 12px;font-size:14px}
.chat-start{display:grid;gap:8px}
.chat-start label{display:grid;gap:3px;font-weight:700;font-size:13px}
.chat-start input,.chat-start textarea,.chat-send textarea{border:2px solid #0F1F5C;border-radius:10px;padding:8px 10px;font:500 14px 'Figtree',sans-serif;width:100%;box-sizing:border-box}
.chat-start small{font-weight:500;color:#4A5478}
.chat-msgs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto;flex:1;min-height:180px}
.chat-m{max-width:85%;display:grid;gap:2px}
.chat-m > div{padding:8px 12px;border-radius:14px;font-size:14px;overflow-wrap:anywhere}
.chat-m small{font-size:11px;color:#4A5478}
.chat-customer{align-self:flex-end}.chat-customer > div{background:#0F1F5C;color:#FFFFFF}
.chat-staff > div{background:#F4F6FB}
.chat-system > div{background:#FFF7F3;font-style:italic;font-size:13px}
.chat-send{display:flex;gap:8px;align-items:flex-end}
.chat-send textarea{resize:none}
.chat-send button{padding:10px 14px}
.chat-foot{margin:0;text-align:center;font-size:13px}
@media (max-width:520px){.chat{right:12px;bottom:12px}.chat-fab span{display:none}.chat-fab{padding:13px}}
@media print{.chat{display:none}}
.ts-box:empty{display:none}
.ts-box{margin:4px 0 8px}
.chat .qt-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.chat .qt-msg{margin:4px 0 0;font-weight:700;font-size:13px}.chat .qt-msg.is-error{color:#C2412E}
.chat-foot button{background:none;border:0;padding:0;color:#4A5478;text-decoration:underline;font:600 13px 'Figtree',sans-serif;cursor:pointer}
