/* t-shirtthai.com — ธีมใหม่ (modern) */
:root {
  --red: #c8102e;
  --red-600: #a50d26;
  --red-50: #fdf0f2;
  --ink: #1d1b1e;
  --ink-2: #3b3840;
  --muted: #6b6670;
  --line: #ebe6e1;
  --bg: #ffffff;
  --soft: #f8f5f1;
  --green: #06c755;
  --green-600: #05a948;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 27, 30, .06), 0 8px 24px rgba(29, 27, 30, .06);
  --shadow-lg: 0 18px 50px rgba(29, 27, 30, .14);
  --head: "Prompt", "IBM Plex Sans Thai", "Noto Sans Thai", Tahoma, sans-serif;
  --body: "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", Tahoma, system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3 { font-family: var(--head); line-height: 1.3; color: var(--ink); margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 20px; }
.mt-lg { margin-top: 44px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid rgba(200, 16, 46, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.3em; border-radius: 999px;
  background: var(--red); color: #fff; font: 600 1rem/1.2 var(--head); border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(200, 16, 46, .22); }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .45em .95em; font-size: .9rem; }
.btn-line { background: var(--green); }
.btn-line:hover { background: var(--green-600); box-shadow: 0 6px 16px rgba(6, 199, 85, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--red); border-color: var(--red); box-shadow: none; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #fff; color: var(--red); }

/* ---------- topbar + header */
.topbar { background: var(--ink); color: #d9d4dc; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .35em; }
.topbar a:hover { color: #ffd1d8; }
.tb-links { display: flex; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo img { width: 46px; height: 46px; border-radius: 50%; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo-txt strong { font: 700 1.3rem/1 var(--head); letter-spacing: .02em; color: var(--red); }
.logo-txt small { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.mainnav { margin-left: auto; }
.mainnav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.mainnav li { position: relative; }
.mainnav > ul > li > a { display: block; padding: 10px 11px; border-radius: 10px; color: var(--ink-2); font: 500 .95rem/1.2 var(--head); }
.mainnav > ul > li > a:hover, .mainnav > ul > li.is-active > a { color: var(--red); background: var(--red-50); }
.mainnav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor;
  border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.mainnav .sub { list-style: none; position: absolute; left: 0; top: 100%; min-width: 240px; margin: 0; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .16s ease; }
.mainnav li:hover > .sub, .mainnav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.mainnav .sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: .93rem; }
.mainnav .sub a:hover { background: var(--soft); color: var(--red); }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(20, 16, 20, .45); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: #fff; overflow-y: auto;
  padding: 16px 18px 28px; box-shadow: var(--shadow-lg); animation: slidein .2s ease; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-x { width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 10px; font-size: 1.5rem; cursor: pointer; }
.drawer-nav, .drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav a, .drawer-nav summary { display: block; padding: 13px 4px; color: var(--ink); font: 500 1rem var(--head); cursor: pointer; }
.drawer-nav summary { list-style: none; position: relative; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; position: absolute; right: 6px; color: var(--muted); font-size: 1.2rem; }
.drawer-nav details[open] summary::after { content: "–"; }
.drawer-nav details ul { padding: 0 0 10px 12px; }
.drawer-nav details a { padding: 8px 4px; font: 400 .95rem var(--body); color: var(--ink-2); }
.drawer-cta { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- hero */
.hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 56px; }
.eyebrow { display: inline-block; color: var(--red); font: 600 .85rem/1.4 var(--head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.2; margin-bottom: 16px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 36em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .93rem; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .i { color: var(--green-600); }
.hero-media { position: relative; }
.hero-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 78% 60%; border-radius: 26px; box-shadow: var(--shadow-lg); }
.nw { white-space: nowrap; }
.hero h1 .hl { color: var(--red); }
.hero-badge { position: absolute; left: -18px; bottom: 26px; background: var(--red); color: #fff; border-radius: 18px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(200, 16, 46, .35); }
.hero-badge strong { font: 700 2.2rem/1 var(--head); }
.hero-badge span { font-size: .82rem; line-height: 1.3; }

/* ---------- stats */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in > div { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.stats-in > div:last-child { border-right: 0; }
.stats strong { display: block; font: 700 clamp(1.4rem, 1rem + 1.4vw, 2rem)/1.1 var(--head); color: var(--red); }
.stats span { color: var(--muted); font-size: .9rem; }

/* ---------- sections */
.sec { padding: 64px 0; }
.sec-tight { padding: 34px 0 60px; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head h2 { margin: 0; }
.sec-head .eyebrow { margin-bottom: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem var(--head); white-space: nowrap; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.svc-img { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font: 600 .9rem var(--head); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--red); }
.card-img { aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; }
.card-body h3 { font-size: 1rem; margin: 0; }
.card-body p { margin: 6px 0 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #2a2226; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20, 8, 12, .78) 100%); }
.cat-label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.cat-label strong { font: 600 1.15rem/1.3 var(--head); }
.cat-label small { opacity: .85; }

/* ---------- product grid */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.pcard a { display: block; color: var(--ink); }
.pcard a:hover { color: var(--red); }
.pcard-img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard a:hover .pcard-img img { transform: scale(1.05); }
.pbadge { position: absolute; top: 10px; left: 10px; background: rgba(29, 27, 30, .78); color: #fff; font-size: .75rem; padding: 2px 9px; border-radius: 999px; }
.pcard h3 { font: 500 .95rem/1.4 var(--body); margin: 10px 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfilter { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.pfilter input { flex: 1; max-width: 420px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.pfilter input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12); }

/* ---------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red-50); color: var(--red);
  font: 700 1.1rem var(--head); margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

.review-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.review { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #fff; }
.review img { width: 100%; height: 100%; object-fit: cover; }

.branch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.branch p { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); margin: 0 0 8px; }
.branch p .i { color: var(--red); margin-top: 4px; }
.branch-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.about p { color: var(--ink-2); }
.about-img img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- inner page */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 26px 0 22px; }
.page-head h1 { margin: 6px 0 4px; }
.page-head p { margin: 0; }
.page-head-sm { padding: 14px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags a { background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 12px; border-radius: 999px; font-size: .86rem; }
.tags a:hover { border-color: var(--red); color: var(--red); }

.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose img { border-radius: 10px; }
.catalog-intro { max-width: 860px; color: var(--ink-2); }

/* เนื้อหาเดิมจาก ReadyPlanet */
.legacy { overflow-wrap: anywhere; }
.legacy img { max-width: 100% !important; height: auto !important; }
.legacy table { max-width: 100%; border-collapse: collapse; height: auto !important; }
.legacy td { vertical-align: top; }
.legacy iframe { max-width: 100%; }
.legacy .video { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; }
.legacy .video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; border-radius: 12px; }
.legacy .hidable { margin-bottom: 1.2em; }
.legacy .title, .legacy .smallm_title { font: 600 1.3rem/1.35 var(--head); margin: 1em 0 .5em; }
.legacy .clear, .legacy .clearfix::after { clear: both; content: ""; display: block; }
.legacy .ready-template-section-product-container, .legacy .banner-section-container { display: flex; flex-wrap: wrap; gap: 16px; }
.legacy .ready-template-section-product, .legacy .banner-section-item { flex: 1 1 220px; }
.legacy .images-area > ul, .legacy .album-images > ul { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.legacy .images-area li, .legacy .album-images li { margin: 0; }
.legacy .images-area img, .legacy .album-images img { display: block; width: 100% !important; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.legacy .images-area a:hover img { border-color: var(--red); }
.legacy .image-wrapper { display: block; }
.legacy .span3 { display: inline-block; width: 24%; min-width: 150px; vertical-align: top; padding: 4px; }
.legacy .fa { display: none; }
.map-embed { position: relative; aspect-ratio: 16 / 10; margin: 12px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.legacy [style*="font-family"], .legacy font { font-family: inherit !important; }
.legacy ul:has(> li img), .legacy ul:has(> li > a > img) { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.legacy ul:has(> li img) li { margin: 0; }
.legacy ul.cols-2 { columns: 2; column-gap: 28px; }
.legacy h5 { font: 600 1.1rem/1.4 var(--head); margin: 1.2em 0 .4em; }
.legacy .table { width: 100%; }
.legacy .table td, .legacy .table th { border-bottom: 1px solid var(--line); padding: 6px 8px; }

/* ---------- product page */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
/* แกลเลอรี: รูปแรก = รูปใหญ่, ถัดไป = รูปย่อ (แสดง 10 รูป ที่เหลือซ่อน + ป้าย "+N") */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery .pg-item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); cursor: pointer; }
.gallery .pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery .pg-item:hover img { transform: scale(1.04); }
.gallery .pg-item.is-on { border-color: var(--red); box-shadow: 0 0 0 2px var(--red) inset; }
.gallery .pg-main { grid-column: 1 / -1; cursor: zoom-in; border-radius: 18px; }
.gallery .pg-main img { object-fit: contain; }
.gallery .pg-main:hover img { transform: none; }
.gallery .pg-item.is-extra { display: none; }
.gallery .pg-item[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(29, 27, 30, .55); color: #fff; font: 600 1.1rem var(--head); }
.gallery:not(.is-multi) { grid-template-columns: 1fr; }
.gallery-hint { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.product-info { position: sticky; top: 96px; }
.chip { display: inline-block; background: var(--red-50); color: var(--red); padding: 4px 12px; border-radius: 999px; font: 500 .85rem var(--head); margin-bottom: 10px; }
.product-info h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.product-lead { color: var(--ink-2); font-size: 1.05rem; }
.product-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.product-details { margin-top: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.product-details h2 { font-size: 1.05rem; }
.product-details ul { list-style: none; margin: 0; padding: 0; }
.product-details li { position: relative; padding: 5px 0 5px 28px; color: var(--ink-2); font-size: .95rem; }
.product-details li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 7px; border: solid var(--green-600);
  border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg); }

/* ---------- contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cform h3 { margin-bottom: 14px; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cform label { display: block; font-size: .9rem; color: var(--ink-2); margin-bottom: 12px; }
.cform input, .cform textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12); }
.cform .hp { position: absolute; left: -9999px; }
.cform-msg { margin: 12px 0 0; font-weight: 500; }
.cform-msg.ok { color: var(--green-600); }
.cform-msg.err { color: var(--red); }

/* ---------- CTA band + footer */
.cta-band { background: radial-gradient(1200px 300px at 10% 0%, #e0233f 0%, var(--red) 40%, #8f0a20 100%); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.site-footer { background: #17141a; color: #bdb6c0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #e2dce4; }
.site-footer a:hover { color: #fff; }
.logo-foot .logo-txt strong { color: #fff; }
.logo-foot .logo-txt small { color: #a79fab; }
.foot-about p { margin: 14px 0; }
.dbd { background: #fff; border-radius: 8px; padding: 4px 8px; width: 120px; }
.foot-links, .foot-contact { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 8px; }
.foot-contact li { display: flex; gap: 10px; margin-bottom: 10px; }
.foot-contact .i { color: #ff8a9b; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--red); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: .85rem; color: #8e8692; }

.float-line { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; background: var(--green); color: #fff;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px rgba(6, 199, 85, .38); font: 600 .98rem var(--head); }
.float-line:hover { color: #fff; background: var(--green-600); }
.float-line .i { width: 1.5em; height: 1.5em; }

/* ---------- lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 10, 12, .92); display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb .lb-x { top: 16px; right: 16px; }
.lb .lb-p { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .9rem; }

.thanks-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2.2rem; }
.pad-xl { padding: 80px 20px; }
.big404 { font: 700 5rem/1 var(--head); color: var(--red); margin: 0 0 10px; }

/* ---------- responsive */
@media (max-width: 1180px) {
  .mainnav, .header-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero-media { order: -1; }
  .hero-badge { left: 12px; bottom: 12px; padding: 8px 12px; }
  .hero-badge strong { font-size: 1.7rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .review-row { grid-template-columns: repeat(3, 1fr); }
  .about, .product, .contact-grid { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .tb-note { display: none; }
  .topbar-in { justify-content: center; }
  .header-in { min-height: 62px; }
  .logo img { width: 40px; height: 40px; }
  .logo-txt strong { font-size: 1.15rem; }
  .sec { padding: 44px 0; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stats-in > div:nth-child(2) { border-right: 0; }
  .stats-in > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { aspect-ratio: 3 / 4; }
  .cat-label strong { font-size: 1rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-btns .btn, .cta-btns .btn, .product-cta .btn { width: 100%; }
  .cgrid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .float-line span { display: none; }
  .float-line { padding: 14px; }
  .legacy table, .legacy tbody, .legacy tr { display: block; width: 100% !important; }
  .legacy td { display: block; width: 100% !important; }
  .legacy .span3 { width: 48%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
