/* TinteQ customer website. Layout from the approved design canvas; works in light and dark. */
:root {
  --pix: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Crect x='210' y='20' width='34' height='34' fill='%23D90A16' opacity='.9'/%3E%3Crect x='262' y='72' width='22' height='22' fill='%23C9D1DB' opacity='.85'/%3E%3Crect x='168' y='78' width='48' height='48' fill='%23D90A16' opacity='.6'/%3E%3Crect x='306' y='22' width='16' height='16' fill='%23C9D1DB' opacity='.8'/%3E%3Crect x='118' y='40' width='20' height='20' fill='%23C9D1DB' opacity='.7'/%3E%3Crect x='232' y='134' width='14' height='14' fill='%23D90A16' opacity='.8'/%3E%3C/svg%3E");
  --pix-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Crect x='210' y='20' width='34' height='34' fill='%23D90A16' opacity='.16'/%3E%3Crect x='262' y='72' width='22' height='22' fill='%23C9D1DB' opacity='.14'/%3E%3Crect x='168' y='78' width='48' height='48' fill='%23D90A16' opacity='.11'/%3E%3Crect x='306' y='22' width='16' height='16' fill='%23C9D1DB' opacity='.14'/%3E%3Crect x='118' y='40' width='20' height='20' fill='%23C9D1DB' opacity='.12'/%3E%3Crect x='232' y='134' width='14' height='14' fill='%23D90A16' opacity='.14'/%3E%3C/svg%3E");
  --phone-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='640' viewBox='0 0 420 640'%3E%3Crect x='50' y='50' width='320' height='540' rx='56' fill='none' stroke='%23C9D1DB' stroke-width='12' opacity='.62'/%3E%3Crect x='96' y='96' width='228' height='380' rx='14' fill='none' stroke='%23C9D1DB' stroke-width='5' opacity='.34'/%3E%3Ccircle cx='210' cy='532' r='16' fill='none' stroke='%23C9D1DB' stroke-width='6' opacity='.62'/%3E%3Cpath d='M120 532h50M250 532h50' stroke='%23C9D1DB' stroke-width='6' stroke-linecap='round' opacity='.62'/%3E%3C/svg%3E");
  --phone-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='640' viewBox='0 0 420 640'%3E%3Crect x='50' y='50' width='320' height='540' rx='56' fill='none' stroke='%2311161f' stroke-width='12' opacity='.46'/%3E%3Crect x='96' y='96' width='228' height='380' rx='14' fill='none' stroke='%2311161f' stroke-width='5' opacity='.26'/%3E%3Ccircle cx='210' cy='532' r='16' fill='none' stroke='%2311161f' stroke-width='6' opacity='.46'/%3E%3Cpath d='M120 532h50M250 532h50' stroke='%2311161f' stroke-width='6' stroke-linecap='round' opacity='.46'/%3E%3C/svg%3E");
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --accent: #D90A16; --accent-ink: #ffffff; --accent-text: #B00812; --accent-hover: #B8000B;
  --base: #EEF0F4; --bg-a: rgba(255,255,255,.30); --bg-b: rgba(230,232,238,.55); --bg-c: rgba(243,244,247,.24); --bg-d: rgba(255,255,255,.46); --bg-e: rgba(230,232,238,.90);
  --backdrop: var(--pix) right 26% top 4% / 560px no-repeat, var(--pix-soft) left 2% bottom 4% / 380px no-repeat, var(--phone-l) right 2% center / 680px no-repeat, radial-gradient(760px 480px at 6% 10%, rgba(217,10,22,.42), transparent 64%), radial-gradient(900px 560px at 96% 90%, rgba(120,132,155,.50), transparent 62%), radial-gradient(rgba(17,22,31,.32) 1px, transparent 1.5px) 0 0 / 24px 24px, #EEF0F4;
  --card: #ffffff; --card-line: #DDE0E8; --tile-hover: #FFF4F4;
  --ink: #11161f; --muted: #4a5565; --line: #DDE0E8;
  --h-bg: #ffffff; --h-fg: #11161f; --h-line: #DDE0E8; --h-input: #F1F3F6; --h-nav-line: #E6E8EE;
  --hero: radial-gradient(900px 500px at 78% 40%, rgba(255,226,229,.60) 0%, rgba(255,255,255,.12) 70%);
  --ann-bg: #D90A16;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --accent: #D90A16; --accent-text: #FF4D55; --accent-hover: #F0303F;
  --base: #0B0D14; --bg-a: rgba(11,13,20,.28); --bg-b: rgba(20,24,36,.55); --bg-c: rgba(11,13,20,.24); --bg-d: rgba(20,24,36,.46); --bg-e: rgba(6,7,11,.90);
  --backdrop: var(--pix) right 26% top 4% / 560px no-repeat, var(--pix-soft) left 2% bottom 4% / 380px no-repeat, var(--phone-d) right 2% center / 680px no-repeat, radial-gradient(760px 480px at 6% 10%, rgba(217,10,22,.70), transparent 64%), radial-gradient(900px 560px at 96% 90%, rgba(160,175,205,.40), transparent 62%), radial-gradient(rgba(255,255,255,.28) 1px, transparent 1.5px) 0 0 / 24px 24px, #0B0D14;
  --card: #141824; --card-line: #262B3B; --tile-hover: #1B2030;
  --ink: #ffffff; --muted: #A9B0C0; --line: #262B3B;
  --h-bg: #0B0D14; --h-fg: #ffffff; --h-line: #262B3B; --h-input: #141824; --h-nav-line: #1B2030;
  --hero: radial-gradient(900px 500px at 78% 40%, rgba(60,10,18,.62) 0%, rgba(11,13,20,.14) 72%); } }
:root[data-theme="dark"] {
  --accent: #D90A16; --accent-text: #FF4D55; --accent-hover: #F0303F;
  --base: #0B0D14; --bg-a: rgba(11,13,20,.28); --bg-b: rgba(20,24,36,.55); --bg-c: rgba(11,13,20,.24); --bg-d: rgba(20,24,36,.46); --bg-e: rgba(6,7,11,.90);
  --backdrop: var(--pix) right 26% top 4% / 560px no-repeat, var(--pix-soft) left 2% bottom 4% / 380px no-repeat, var(--phone-d) right 2% center / 680px no-repeat, radial-gradient(760px 480px at 6% 10%, rgba(217,10,22,.70), transparent 64%), radial-gradient(900px 560px at 96% 90%, rgba(160,175,205,.40), transparent 62%), radial-gradient(rgba(255,255,255,.28) 1px, transparent 1.5px) 0 0 / 24px 24px, #0B0D14;
  --card: #141824; --card-line: #262B3B; --tile-hover: #1B2030;
  --ink: #ffffff; --muted: #A9B0C0; --line: #262B3B;
  --h-bg: #0B0D14; --h-fg: #ffffff; --h-line: #262B3B; --h-input: #141824; --h-nav-line: #1B2030;
  --hero: radial-gradient(900px 500px at 78% 40%, rgba(60,10,18,.62) 0%, rgba(11,13,20,.14) 72%); }

body { background: var(--base); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--display); }
a { text-decoration: none; cursor: pointer; }
.tq-wrap { max-width: 1240px; margin: 0 auto; padding-inline: max(32px, env(safe-area-inset-left)); width: 100%; box-sizing: border-box; }
.tq-sr { position: absolute; left: -9999px; }
.tq-stack { display: flex; flex-direction: column; gap: 28px; }
.tq-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tq-sub { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.tq-lead { margin: 0; font-size: 19px; line-height: 1.6; }
.tq-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.tq-sec { padding-block: 72px; }
.tq-sec h2 { margin: 0; font-weight: 700; font-size: 36px; letter-spacing: -.01em; }
.tq-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tq-more { font-size: 15px; font-weight: 600; color: var(--accent-text); padding: 12px 0; }
.tq-bg-a { background: var(--bg-a); } .tq-bg-b { background: var(--bg-b); } .tq-bg-c { background: var(--bg-c); } .tq-bg-d { background: var(--bg-d); border-top: 1px solid var(--line); }

/* buttons */
.tq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 15px 'Inter', sans-serif; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.tq-btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.tq-red { background: var(--accent); color: #fff; } .tq-red:hover { background: var(--accent-hover); }
.tq-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.tq-ghost:hover { border-color: var(--ink); }
.tq-dark { background: #0B0D14; color: #fff; } .tq-dark:hover { background: #262B3B; }
.tq-btn .badge { background: #fff; color: var(--accent); }

/* 1. announcement */
.tq-ann { background: var(--ann-bg); color: #fff; font-size: 13px; font-weight: 500; }
.tq-ann-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-block: 8px; }
.tq-ann-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.tq-ann a { color: #fff; }
.tq-theme { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 3px 12px; font: 600 13px 'Inter', sans-serif; cursor: pointer; white-space: nowrap; }
.tq-theme:hover { background: rgba(255,255,255,.28); }
.tq-staff { background: #fff; color: #B00812 !important; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.tq-staff:hover { background: #ffe4e6; }

/* 2. header */
.tq-header { background: var(--h-bg); border-bottom: 1px solid var(--h-line); position: sticky; top: 0; z-index: 30; }
.tq-header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 12px; }
.tq-logo img { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; display: block; }
.tq-search { display: flex; flex: 1 1 320px; min-width: 0; max-width: 560px; }
.tq-search input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px 0 0 999px; border: 1px solid var(--h-line); border-right: 0; background: var(--h-input); color: var(--h-fg); padding: 0 20px; font: 15px 'Inter', sans-serif; }
.tq-search input::placeholder { color: var(--muted); }
.tq-search .tq-btn { border-radius: 0 999px 999px 0; padding: 0 20px; }
.tq-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tq-header .tq-ghost { color: var(--h-fg); border-color: var(--h-line); min-height: 44px; padding: 0 20px; }
.tq-header .tq-ghost:hover { border-color: var(--h-fg); }
.tq-header .tq-red { min-height: 44px; padding: 0 16px; }
.tq-link { font-size: 14px; font-weight: 500; color: var(--h-fg); padding: 12px 8px; }
.tq-link:hover { color: var(--accent-text); }
.tq-catnav { border-top: 1px solid var(--h-nav-line); }
.tq-catnav-in { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.tq-catnav-in::-webkit-scrollbar { display: none; }
.tq-catnav-in a { color: var(--h-fg); font-size: 14px; font-weight: 500; padding: 12px 2px; white-space: nowrap; border-bottom: 2px solid transparent; }
.tq-catnav-in a:hover { color: var(--accent-text); }
.tq-catnav-in a.on { border-bottom-color: var(--accent); color: var(--accent-text); font-weight: 600; }

/* 3. hero */
.tq-hero { background: var(--hero); }
.tq-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-block: 72px; }
.tq-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tq-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.tq-hero h1 { margin: 0; font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.tq-hero p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.tq-hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.tq-hero-art img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; border-radius: 32px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.25); }

/* 4. tiles */
.tq-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tq-tile { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.tq-tile:hover { border-color: var(--accent); background: var(--tile-hover); }
.tq-tile b { font: 600 18px var(--display); } .tq-tile span { font-size: 14px; color: var(--muted); }

/* 5. finder */
.tq-finder h2 { font-size: 32px; }
.tq-fform { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.tq-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.tq-field label { font-size: 13px; font-weight: 600; }
.tq-field select { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: 15px 'Inter', sans-serif; background: var(--card); color: var(--ink); }
.tq-finder .tq-btn { flex: 0 0 auto; }

/* 6. products: reuse the card grid, restyled */
#shop .grid { padding-bottom: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
#shop .card { border-radius: 20px; background: var(--card); border-color: var(--card-line); }
#shop .card h3 { font-family: var(--display); font-size: 16px; font-weight: 600; }
#shop .card .price { font-family: var(--display); }
#shop .card .btn.primary { background: #0B0D14; border-color: #0B0D14; color: #fff; border-radius: 999px; padding-inline: 16px; }
:root[data-theme="dark"] #shop .card .btn.primary { background: var(--accent); border-color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #shop .card .btn.primary { background: var(--accent); border-color: var(--accent); } }
#shop .card .btn.primary:hover { filter: brightness(1.2); }

/* 7. wholesale banner */
.tq-deal { background: #D90A16; color: #fff; }
.tq-deal-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.tq-deal h2 { margin: 0 0 8px; font-weight: 800; font-size: 34px; letter-spacing: -.01em; }
.tq-deal p { margin: 0; font-size: 17px; max-width: 640px; }

/* 8. about */
.tq-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-block: 72px; }
.tq-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tq-facts li { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 16px 20px; display: grid; gap: 2px; }
.tq-facts b { font-family: var(--display); } .tq-facts span { color: var(--muted); font-size: 14px; }

/* 9. services */
.tq-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.tq-trust > div { display: flex; flex-direction: column; gap: 8px; color: var(--accent-text); }
.tq-trust h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.tq-trust p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* 10. visit */
.tq-visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tq-big { font-size: 20px; font-weight: 600; line-height: 1.6; margin-top: 4px; }
.tq-branches { display: grid; gap: 16px; }
.tq-branch { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tq-branch h3 { margin: 0; font-size: 24px; font-weight: 700; }

/* 11. footer */
.tq-footer { background: var(--bg-e); border-top: 1px solid var(--line); padding-top: 56px; padding-bottom: 96px; }
.tq-footer-in { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 32px; }
.tq-footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.tq-footer-brand img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; }
.tq-footer-brand p { margin: 0; color: var(--muted); max-width: 320px; line-height: 1.6; }
.tq-fcol { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; }
.tq-fcol b { font: 600 15px var(--display); margin-bottom: 8px; }
.tq-fcol a { color: var(--muted); font-size: 15px; padding: 7px 0; } .tq-fcol a:hover { color: var(--accent-text); }
.tq-fcol > div { display: flex; flex-direction: column; }
.tq-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tq-legal a { color: var(--muted); text-decoration: underline; }

/* floating bar extras */
.fnav .fwa { display: none; background: #1faa59; color: #fff; margin-left: 4px; }
.fnav .fwa:hover { background: #17924a; color: #fff; }
body.hasfnav footer.site { padding-bottom: 0; }
section[id], main[id] { scroll-margin-top: 130px; }

@media (max-width: 1000px) { .tq-hide-md { display: none !important; } .tq-about, .tq-visit-in { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 720px) {
  .tq-wrap { padding-inline: max(20px, env(safe-area-inset-left)); }
  .tq-hide-sm { display: none !important; }
  .tq-sec { padding-block: 48px; } .tq-sec h2 { font-size: 28px; }
  .tq-hero-in { padding-block: 40px; gap: 28px; } .tq-hero-art { order: -1; } .tq-hero-art img { max-width: 240px; border-radius: 22px; }
  .tq-hero-text .tq-btn { flex: 1 1 100%; }
  .tq-header-in { gap: 10px 14px; } .tq-logo img { width: 52px; height: 52px; }
  .tq-search { order: 3; flex-basis: 100%; max-width: none; }
  .tq-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tq-tile { padding: 16px; } .tq-tile b { font-size: 15px; } .tq-tile span { display: none; }
  #shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tq-deal h2 { font-size: 26px; } .tq-deal .tq-btn { width: 100%; }
  .tq-ann-right { width: 100%; justify-content: flex-end; }
}
@media (max-width: 520px) { .fnav .fcart { display: none; } .fnav .fwa { display: inline-flex; } .fnav a { padding: 9px 11px; } }
@media (max-width: 720px) { #shop .card .foot { flex-direction: column; align-items: stretch; gap: 8px; } #shop .card .foot .btn { width: 100%; min-height: 40px; } #shop .card .price { font-size: 18px; } }

/* stationary background: a fixed layer that stays still while the page scrolls over it */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--backdrop); pointer-events: none; }
.tq-bg-d { border-top-color: transparent; }
