.tg-legacy *, .tg-legacy *::before, .tg-legacy *::after { box-sizing: border-box; }
.tg-legacy {
  --bg: #ffffff;
  --surface: #f5f3ef;
  --line: #ddd8d0;
  --muted: #6b665e;
  --radius: 10px;
  --wrap: 1180px;
}
.tg-legacy { -webkit-text-size-adjust: 100%; }
.tg-legacy {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
.tg-legacy img { max-width: 100%; display: block; }
.tg-legacy a { color: inherit; }
.tg-legacy .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.tg-legacy .section { padding: 56px 20px; }
.tg-legacy .muted { color: var(--muted); }
.tg-legacy h1, .tg-legacy h2, .tg-legacy h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
.tg-legacy h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.tg-legacy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.tg-legacy h3 { font-size: 1.05rem; }
.tg-legacy .site-head { background: var(--primary); color: #fff; }
.tg-legacy .head-inner { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.tg-legacy .logo { font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; text-decoration: none; }
.tg-legacy .tagline { margin: 0; color: rgba(255,255,255,.82); font-size: .92rem; flex: 1; }
.tg-legacy .head-contact { display: flex; gap: 18px; font-size: .92rem; }
.tg-legacy .head-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.tg-legacy .site-foot { background: var(--ink); color: #fff; margin-top: 72px; }
.tg-legacy .foot-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; padding-top: 42px; padding-bottom: 42px; }
.tg-legacy .site-foot p { margin: .2em 0; color: rgba(255,255,255,.78); }
.tg-legacy .foot-note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; color: rgba(255,255,255,.6); font-size: .88rem; }
.tg-legacy .hero {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 65%, #000) 100%);
  color: #fff;
  padding: 72px 0;
}
.tg-legacy .hero h1 { max-width: 16ch; }
.tg-legacy .hero p { max-width: 52ch; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.tg-legacy .btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.tg-legacy .btn:hover { filter: brightness(1.06); }
.tg-legacy .btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.tg-legacy .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tg-legacy .cat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: var(--surface);
  border-left: 4px solid var(--primary);
}
.tg-legacy .cat:hover { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.tg-legacy .cat-name { font-weight: 700; }
.tg-legacy .cat-count { color: var(--muted); font-size: .88rem; }
.tg-legacy .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.tg-legacy .card { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.tg-legacy .card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.1); transform: translateY(-2px); }
.tg-legacy .card { transition: box-shadow .15s, transform .15s; }
.tg-legacy .card-img { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.tg-legacy .card-img img { width: 100%; height: 100%; object-fit: cover; }
.tg-legacy .card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tg-legacy .card-price { margin: auto 0 0; font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.tg-legacy .card-price .from { font-weight: 500; font-size: .85rem; color: var(--muted); }
.tg-legacy .crumbs { padding: 22px 0 8px; font-size: .9rem; color: var(--muted); }
.tg-legacy .crumbs a { color: var(--muted); }
.tg-legacy .crumbs span { margin: 0 6px; }
.tg-legacy .product-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 42px; align-items: start; }
.tg-legacy .media-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tg-legacy .media-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tg-legacy .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tg-legacy .thumb { width: 66px; height: 66px; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.tg-legacy .thumb.is-active { border-color: var(--primary); }
.tg-legacy .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tg-legacy .buy h1 { margin-bottom: .2em; }
.tg-legacy .from-price { color: var(--muted); margin: 0 0 22px; }
.tg-legacy .from-price strong { color: var(--ink); font-size: 1.15rem; }
.tg-legacy .measure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; margin-bottom: 22px; }
.tg-legacy .measure h2 { font-size: 1.05rem; margin-bottom: .7em; }
.tg-legacy .measure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tg-legacy .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.tg-legacy .field input, .tg-legacy .opt select, .tg-legacy .opt input[type="text"], .tg-legacy .opt textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: inherit;
}
.tg-legacy .field input:focus, .tg-legacy .opt select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.tg-legacy .field.has-error input { border-color: #c0392b; background: #fff5f4; }
.tg-legacy .hint { margin: 5px 0 0; font-size: .8rem; color: var(--muted); }
.tg-legacy .field-error { margin: 5px 0 0; font-size: .82rem; color: #c0392b; font-weight: 600; }
.tg-legacy .measure-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.tg-legacy .options { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.tg-legacy .opt { border: 0; padding: 0; margin: 0; }
.tg-legacy .opt > label, .tg-legacy .opt legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; padding: 0; }
.tg-legacy .affects { font-weight: 500; font-size: .78rem; color: var(--muted); }
.tg-legacy .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-legacy .swatch { position: relative; width: 58px; cursor: pointer; }
.tg-legacy .swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.tg-legacy .swatch img, .tg-legacy .swatch-text {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 42px; object-fit: cover;
  border: 2px solid var(--line); border-radius: 7px;
  background: #fff; font-size: .7rem; text-align: center; overflow: hidden;
}
.tg-legacy .swatch input:checked ~ img, .tg-legacy .swatch input:checked ~ .swatch-text { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
.tg-legacy .swatch-name { display: block; font-size: .68rem; color: var(--muted); margin-top: 3px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-legacy .pricebox {
  border: 2px solid var(--primary); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 16px; background: #fff;
}
.tg-legacy .pricebox[data-state="error"] { border-color: #c0392b; background: #fff5f4; }
.tg-legacy .price-main { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.tg-legacy .pricebox[data-state="error"] .price-main { color: #c0392b; font-size: 1.1rem; }
.tg-legacy .price-note { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.tg-legacy .btn-buy { width: 100%; }
.tg-legacy .product-text { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; margin-top: 56px; }
.tg-legacy .product-text img { border-radius: 8px; }
.tg-legacy .info { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; font-size: .94rem; }
.tg-legacy .info strong { color: var(--primary); }
.tg-legacy .lede { color: var(--muted); margin-top: -.4em; }
@media (max-width: 900px) {
.tg-legacy .product-top { grid-template-columns: 1fr; gap: 28px; }
.tg-legacy .product-text { grid-template-columns: 1fr; }
.tg-legacy .foot-inner { grid-template-columns: 1fr; }
.tg-legacy .head-inner { gap: 10px; }
.tg-legacy .tagline { flex-basis: 100%; }
}
.tg-legacy .head-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem;
}
.tg-legacy .head-cart:hover { background: rgba(255,255,255,.24); }
.tg-legacy .cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #1a1a1a; font-size: .8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.tg-legacy .narrow { max-width: 760px; }
.tg-legacy .empty { background: var(--surface); border-radius: var(--radius); padding: 36px; text-align: center; }
.tg-legacy .alert { background: #fff5f4; border: 1px solid #f0c2bd; color: #8e2a1f; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.tg-legacy .cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.tg-legacy .cart-lines { display: flex; flex-direction: column; gap: 14px; }
.tg-legacy .cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tg-legacy .cart-line.has-problem { border-color: #f0c2bd; background: #fff9f8; }
.tg-legacy .cl-img { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--surface); }
.tg-legacy .cl-img img { width: 100%; height: 100%; object-fit: cover; }
.tg-legacy .cl-main h3 { margin: 0 0 4px; font-size: 1rem; }
.tg-legacy .cl-main h3 a { text-decoration: none; }
.tg-legacy .cl-measure { margin: 0; font-weight: 700; color: var(--primary); }
.tg-legacy .cl-sel { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.tg-legacy .cl-problem { margin: 6px 0 0; color: #c0392b; font-weight: 600; font-size: .88rem; }
.tg-legacy .cl-actions { display: flex; gap: 16px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.tg-legacy .qty-form { display: flex; gap: 8px; align-items: center; }
.tg-legacy .qty-form label { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.tg-legacy .qty-form input { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.tg-legacy .link-btn { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.tg-legacy .link-btn.danger { color: #c0392b; }
.tg-legacy .cl-price { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.tg-legacy .cl-price strong { font-size: 1.1rem; }
.tg-legacy .cl-price span { font-size: .8rem; color: var(--muted); }
.tg-legacy .summary { position: sticky; top: 20px; border: 2px solid var(--primary); border-radius: var(--radius); padding: 20px; background: #fff; }
.tg-legacy .summary h2 { font-size: 1.15rem; }
.tg-legacy .sum-row, .tg-legacy .sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.tg-legacy .sum-line div { display: flex; flex-direction: column; }
.tg-legacy .sum-line div span { font-size: .8rem; color: var(--muted); }
.tg-legacy .sum-row.total { border-bottom: 0; font-size: 1.2rem; font-weight: 800; color: var(--primary); padding-top: 14px; }
.tg-legacy .sum-note { margin: 0 0 16px; font-size: .82rem; color: var(--muted); }
.tg-legacy .btn-block { display: block; width: 100%; text-align: center; }
.tg-legacy .back-link { display: block; text-align: center; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.tg-legacy .checkout-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; margin: 0 0 18px; }
.tg-legacy .checkout-form legend { font-weight: 700; padding: 0 6px; }
.tg-legacy .checkout-form .field { margin-bottom: 12px; }
.tg-legacy .checkout-form .field input, .tg-legacy .checkout-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.tg-legacy .checkout-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tg-legacy .pay-placeholder { background: var(--surface); border-left: 4px solid var(--accent); padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }
.tg-legacy .pay-placeholder p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.tg-legacy .ship-note { margin: 0 0 12px; padding: 10px 12px; background: var(--surface); border-radius: 8px; font-size: .9rem; }
.tg-legacy .ship-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.tg-legacy .ship-option:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.tg-legacy .ship-option input { flex: none; width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.tg-legacy .so-main { flex: 1; display: flex; flex-direction: column; }
.tg-legacy .so-main span { font-size: .85rem; color: var(--muted); }
.tg-legacy .so-fee { font-weight: 700; white-space: nowrap; }
.tg-legacy .pakkeshops { margin: 4px 0 12px; }
.tg-legacy .ps-title { font-weight: 600; margin: 0 0 8px; }
.tg-legacy .ps-list { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.tg-legacy .ps-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .92rem; }
.tg-legacy .ps-item:has(input:checked) { border-color: var(--primary); background: var(--surface); }
.tg-legacy .ps-item input { flex: none; margin: 3px 0 0; accent-color: var(--primary); }
.tg-legacy .ps-item > span:first-of-type { flex: 1; display: flex; flex-direction: column; }
.tg-legacy .ps-item > span:first-of-type span { color: var(--muted); font-size: .84rem; }
.tg-legacy .ps-dist { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.tg-legacy .ps-msg { margin: 0; padding: 10px 12px; background: var(--surface); border-radius: 8px; font-size: .9rem; color: var(--muted); }
.tg-legacy .checkout-form .field-error.ship-error { margin: 0 0 12px; }
.tg-legacy .confirm { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 32px; margin-bottom: 28px; }
.tg-legacy .confirm h1 { margin-bottom: .3em; }
.tg-legacy .confirm p { color: rgba(255,255,255,.9); }
.tg-legacy .confirm-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; margin: 0 0 6px; }
.tg-legacy .status-pill { display: inline-block; background: var(--accent); color: #1a1a1a !important; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin: 8px 0 0; }
.tg-legacy .confirm-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
@media (max-width: 900px) {
.tg-legacy .cart-layout, .tg-legacy .confirm-grid { grid-template-columns: 1fr; }
.tg-legacy .summary { position: static; }
.tg-legacy .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
.tg-legacy .cl-img { width: 72px; height: 72px; }
.tg-legacy .cl-price { grid-column: 2; text-align: left; }
.tg-legacy .checkout-form .two { grid-template-columns: 1fr; }
}
.tg-legacy .samples-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.tg-legacy .sample-group { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.tg-legacy .sample-group summary { cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; list-style: none; }
.tg-legacy .sample-group summary::-webkit-details-marker { display: none; }
.tg-legacy .sample-group summary::after { content: '+'; font-weight: 400; margin-left: 12px; }
.tg-legacy .sample-group[open] summary::after { content: '−'; }
.tg-legacy .sample-group summary .count { margin-left: auto; color: var(--muted); font-weight: 500; }
.tg-legacy .sample-group[open] summary { border-bottom: 1px solid var(--line); }
.tg-legacy .sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; padding: 16px 18px; }
.tg-legacy .sample-swatch { position: relative; cursor: pointer; text-align: center; }
.tg-legacy .sample-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.tg-legacy .sample-swatch img, .tg-legacy .sample-code {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px;
  border: 2px solid var(--line); background: var(--surface); font-size: .72rem; font-weight: 700; overflow: hidden;
}
.tg-legacy .sample-swatch input:checked ~ img, .tg-legacy .sample-swatch input:checked ~ .sample-code {
  border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent);
}
.tg-legacy .sample-swatch input:checked ~ .sample-name { color: var(--primary); font-weight: 700; }
.tg-legacy .sample-swatch input:focus-visible ~ img, .tg-legacy .sample-swatch input:focus-visible ~ .sample-code { outline: 2px solid var(--primary); outline-offset: 2px; }
.tg-legacy .sample-swatch.is-disabled { opacity: .45; cursor: not-allowed; }
.tg-legacy .sample-swatch.is-static { cursor: default; }
.tg-legacy .sample-name { display: block; font-size: .72rem; margin-top: 4px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-legacy .samples-summary h2 { margin-top: 8px; }
.tg-legacy .samples-counter { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface); font-weight: 700; text-align: center; }
.tg-legacy .samples-counter.is-full { background: var(--accent); color: #1a1a1a; }
.tg-legacy .hero .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); margin-left: 10px; }
@media (max-width: 900px) {
.tg-legacy .samples-layout { grid-template-columns: 1fr; }
}
.tg-legacy .logo img { max-height: 44px; max-width: 200px; display: block; }
.tg-legacy .preview-bar { background: #1d1d1f; color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.tg-legacy .tg-info-page { max-width: 820px; margin: 0 auto; padding: 32px 20px 56px; }
.tg-legacy .tg-richtext { line-height: 1.7; }
.tg-legacy .tg-richtext h2 { margin: 28px 0 10px; }
.tg-legacy .tg-richtext img { max-width: 100%; height: auto; }
.tg-legacy .tg-cat-intro { max-width: 760px; margin: 8px 0 18px; line-height: 1.65; }
.tg-legacy .foot-links { grid-column: 1 / -1; font-size: .92rem; }
.tg-legacy .foot-links a { color: inherit; }
.tg-legacy .pay-notice { margin: 24px 0; padding: 16px 18px; border-radius: 10px; border: 1px solid #d6d3d1; border-left: 4px solid var(--accent); background: var(--surface); }
.tg-legacy .pay-notice.is-warning { border-color: #f59e0b; border-left-color: #d97706; background: #fffbeb; }
.tg-legacy .pay-notice p { margin: 0 0 12px; font-weight: 500; }
.tg-legacy .pay-notice p:last-child { margin-bottom: 0; }
.tg-legacy .pay-notice form { margin: 0; }
.tg-legacy .confirm-notes { margin: 24px 0; padding: 16px 18px; border-radius: 10px; background: rgba(0,0,0,.035); }
.tg-legacy .confirm-notes h2 { font-size: 1.05rem; margin: 0 0 10px; }
.tg-legacy .confirm-note { padding: 8px 0; border-top: 1px solid rgba(0,0,0,.08); }
.tg-legacy .confirm-note:first-of-type { border-top: 0; }
.tg-legacy .confirm-note time { font-size: .85rem; opacity: .7; }
.tg-legacy .confirm-note p { margin: 4px 0 0; white-space: pre-line; }
