/* Flying Tiger shop: storefront styles (black / red, matching the previous TrendyTreeKids look) */
:root {
  --bg: #000;
  --panel: #222;
  --panel-2: #2c2c2c;
  --content-bg: #3a3a3a;
  --line: #444;
  --text: #f2f2f2;
  --muted: #b5b5b5;
  --red: #e30613;
  --red-dark: #b0040e;
  --ok: #3fa34d;
  --warn: #e0a100;
  --radius: 10px;
  --font: Arial, Helvetica, sans-serif;
  --display: Futura, "Trebuchet MS", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); }
a { color: #fff; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; }
h1 { color: var(--red); font-size: 26px; margin: 0 0 16px; }
h2 { font-size: 20px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); padding: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.inline { display: inline; }
.linkish { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-transform: inherit; letter-spacing: inherit; }
.linkish:hover { color: var(--red); }

/* ---------- header ---------- */
.site-header { border-bottom: 3px solid var(--red); padding-bottom: 12px; }
.header-top { display: flex; justify-content: center; align-items: center; position: relative; padding-top: 18px; }
.menu-toggle { display: none; position: absolute; right: 16px; top: 22px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 30px; height: 4px; background: #999; margin: 5px 0; border-radius: 2px; }
.topnav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; align-items: center; margin-top: 12px;
  font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: .03em; }
.topnav a, .topnav .linkish { color: var(--red); text-decoration: none; }
.topnav a:hover, .topnav .linkish:hover { color: #fff; }
.topnav .sep { color: #fff; margin: 0 -10px; }
.topnav .cart-link { color: #fff; }
.topnav .cart-link strong { color: var(--red); }
.topnav .checkout-link { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 3px; }
.header-sub { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.search { display: flex; gap: 6px; }
.search input { width: 240px; max-width: 60vw; padding: 6px 8px; border: 1px solid #666; border-radius: 3px; background: #fff; color: #000; }
.search button { background: none; border: 0; color: var(--red); font-weight: bold; cursor: pointer; }
.banner { display: block; width: 100%; border-radius: 2px; margin: 0 0 20px; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-top: 20px; padding-bottom: 32px; }
.content { min-width: 0; }
.box { background: #111; border: 1px solid #333; border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.box-title { margin: 0; background: linear-gradient(#e30613, #a3030c); color: #fff; font-size: 15px; text-transform: uppercase; padding: 9px 12px; }
.box-title.small { font-size: 13px; text-align: center; }
.box p { font-size: 12px; margin: 10px 12px; color: var(--muted); text-align: center; }
.box form { padding: 0 12px 12px; display: grid; gap: 8px; }
.box input[type=email] { width: 100%; padding: 6px; border-radius: 3px; border: 1px solid #555; }
.social { display: flex; gap: 12px; justify-content: center; padding: 12px; background: none; border: 0; }
.cat-tree { list-style: none; margin: 0; padding: 6px 0; }
.cat-tree .cat-tree { padding: 0 0 0 12px; border-left: 1px solid #333; margin-left: 12px; }
.cat-tree a { display: block; padding: 4px 12px; color: var(--red); text-decoration: none; font-size: 12px; font-weight: bold; text-transform: uppercase; }
.cat-tree .cat-tree a { text-transform: none; color: #ddd; font-weight: normal; font-size: 13px; }
.cat-tree a:hover, .cat-tree li.active > a { color: #fff; background: #2a2a2a; }
.cat-tree .arr { color: #888; font-weight: normal; }

/* ---------- headings / breadcrumbs ---------- */
.section-title { color: var(--red); font-size: 18px; margin: 4px 0 14px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: #ddd; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.cat-intro { color: #ddd; margin-bottom: 16px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--panel); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 14px;
  display: grid; grid-template-columns: 110px 1fr; gap: 14px; min-height: 150px; text-decoration: none; color: #fff; }
.card:hover { background: var(--panel-2); color: #fff; }
.card .thumb { width: 110px; height: 90px; display: flex; align-items: center; justify-content: center; background: #111; border-radius: 4px; overflow: hidden; }
.card .thumb img { max-height: 90px; object-fit: contain; }
.card .name { font-weight: bold; font-size: 15px; display: block; margin-bottom: 6px; }
.card .part { font-size: 11px; color: var(--muted); display: block; }
.badge { position: absolute; top: -2px; left: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 0 0 4px 4px; text-transform: uppercase; }
.price { font-size: 15px; }
.price .was { text-decoration: line-through; color: var(--muted); display: block; }
.price .now { color: #fff; }
.price .call { color: var(--warn); }
.stock-out { color: var(--warn); font-size: 12px; }

.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 24px; }
.subcats a { background: var(--panel); border-left: 4px solid var(--red); border-radius: 6px; padding: 10px 12px; text-decoration: none; font-weight: bold; display: flex; gap: 10px; align-items: center; }
.subcats a:hover { background: var(--panel-2); }
.subcats img { width: 48px; height: 36px; object-fit: contain; background: #111; border-radius: 3px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.toolbar select { padding: 4px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }
.pager a, .pager span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: 13px; }
.pager .current { background: var(--red); border-color: var(--red); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.gallery .main-img { background: #111; border-radius: var(--radius); display: flex; justify-content: center; align-items: center; min-height: 260px; padding: 10px; }
.gallery .main-img img { max-height: 420px; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gallery .thumbs button { border: 2px solid transparent; padding: 0; background: #111; border-radius: 4px; cursor: pointer; width: 70px; height: 56px; overflow: hidden; }
.gallery .thumbs button.on, .gallery .thumbs button:hover { border-color: var(--red); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox { background: var(--panel); border-radius: var(--radius); padding: 18px; border-top: 4px solid var(--red); }
.buybox .price { font-size: 24px; margin: 6px 0 12px; }
.buybox .meta { font-size: 13px; color: var(--muted); margin: 0 0 12px; padding: 0; list-style: none; }
.field { display: grid; gap: 4px; margin-bottom: 12px; }
.field label, .field .label { font-size: 13px; font-weight: bold; }
.field .req { color: var(--red); }
.field .hint { font-size: 12px; color: var(--muted); }
.qty-row { display: flex; gap: 10px; align-items: end; }
.qty-row input { width: 70px; }
.description { margin-top: 28px; background: var(--content-bg); border-radius: var(--radius); padding: 18px; overflow-x: auto; }
.description img { height: auto !important; }
.description table { max-width: 100%; }

/* ---------- forms & buttons ---------- */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], select, textarea {
  font: inherit; padding: 8px 10px; border-radius: 4px; border: 1px solid #666; background: #fff; color: #111; max-width: 100%; }
textarea { min-height: 90px; width: 100%; }
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 4px; padding: 10px 18px; font-weight: bold;
  font-size: 14px; cursor: pointer; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn.small { padding: 6px 12px; font-size: 12px; }
.btn.ghost { background: transparent; border: 1px solid #777; }
.btn.ghost:hover { border-color: var(--red); background: transparent; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.form { background: var(--content-bg); border-radius: var(--radius); padding: 20px; max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form .field input, .form .field select { width: 100%; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.errors { background: #4a1013; border: 1px solid var(--red); border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; }
.errors ul { margin: 0; padding-left: 18px; }
.flash { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; border: 1px solid; }
.flash-success { background: #13361a; border-color: var(--ok); }
.flash-error { background: #4a1013; border-color: var(--red); }
.flash-info { background: #1d2a3a; border-color: #4a7ab0; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- tables (cart, orders) ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { background: #111; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table .item { display: flex; gap: 10px; align-items: center; }
.table .item img { width: 60px; height: 48px; object-fit: contain; background: #111; border-radius: 3px; }
.table .opts { font-size: 12px; color: var(--muted); }
.table input[type=number] { width: 70px; }
.totals { margin-left: auto; max-width: 360px; margin-top: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.totals .grand { font-size: 18px; font-weight: bold; border-bottom: 0; color: #fff; }

/* ---------- checkout ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; counter-reset: s; padding: 0; list-style: none; }
.steps li { counter-increment: s; font-size: 13px; color: var(--muted); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #333; margin-right: 6px; }
.steps li.on { color: #fff; font-weight: bold; }
.steps li.on::before, .steps li.done::before { background: var(--red); }
.ship-options { display: grid; gap: 8px; }
.ship-opt { display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--red); }
.ship-opt .lbl { flex: 1; }
.ship-opt .note { display: block; font-size: 12px; color: var(--muted); }
.ship-opt .amt { font-weight: bold; }
.address-card { background: var(--panel); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.address-card p { margin: 0; }
.paypal-note { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }

/* ---------- static pages ---------- */
.page-body { background: var(--content-bg); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.page-body blockquote { margin: 0; }
.sitemap ul { list-style: none; padding-left: 16px; }
.sitemap > ul { padding-left: 0; }
.sitemap a { text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--red); padding: 22px 0 30px; text-align: center; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: var(--red); text-transform: uppercase; font-weight: bold; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.site-footer p { margin: 6px 0; }
.site-footer .company a, .site-footer .credit a { color: #ddd; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; order: 2; }
  .sidebar.open { display: block; }
  .menu-toggle { display: block; }
  .product { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-sub { justify-content: center; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .card { grid-template-columns: 90px 1fr; }
  .card .thumb { width: 90px; }
  .table.cart thead { display: none; }
  .table.cart tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .table.cart td { border: 0; padding: 4px 10px; }
  .table.cart td.item-cell { grid-column: 1 / -1; }
  .table.cart td.num::before { content: attr(data-label) ": "; color: var(--muted); font-weight: normal; }
}

/* ---------- classic two-column forms (matches the original Pinnacle sign-up page) ---------- */
.legacy-form { color: #fff; font-family: var(--display); }
.legacy-form h1 { font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #fff; padding: 5px 5px 5px 10px; margin: 0; }
.legacy-form .lf-intro { font-size: 16px; margin: 7px 0; padding: 0 10px; }
.legacy-form .lf-intro a { color: #fff; text-decoration: none; }
.legacy-form .lf-intro a:hover { color: var(--red); }
.legacy-form .lf-notice { font-size: 12px; font-weight: bold; margin: 5px 10px 10px; }
.legacy-form .lf-error { background: #4a1013; border: 1px solid var(--red); padding: 8px 12px; margin: 10px 0; font-size: 14px; }
.legacy-form .lf-error ul { margin: 4px 0 0; padding-left: 20px; }
.legacy-form .lf-fieldset h3 { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #fff;
  background: #ff0000; border-radius: 10px; padding: 5px 5px 5px 10px; margin: 20px 0; line-height: normal; }
.legacy-form .lf-row { display: flex; align-items: flex-start; gap: 0; margin: 0; padding: 0 0 10px; }
.legacy-form .lf-row > label { flex: 0 0 250px; padding: 2px 0 0 10px; font-size: 15px; font-weight: normal; color: #fff; line-height: normal; }
.legacy-form .lf-row.required > label { font-weight: bold; }
.legacy-form .lf-input { flex: 1; min-width: 0; }
.legacy-form input[type=text], .legacy-form input[type=email], .legacy-form input[type=tel], .legacy-form input[type=password] {
  width: 200px; max-width: 100%; height: 16px; box-sizing: content-box; padding: 2px 2px 2px 3px; border: 2px inset #767676; border-radius: 0;
  font: 12px Helvetica, Arial, sans-serif; color: #000; background: #fff; }
.legacy-form select { width: 207px; max-width: 100%; height: 24px; padding: 2px 0 0 3px; border: 1px solid #767676; border-radius: 0;
  font: 12px Helvetica, Arial, sans-serif; color: #000; background: #fff; }
.legacy-form input[type=checkbox] { margin: 2px 0 0; width: 13px; height: 13px; }
.legacy-form .lf-check { display: flex; gap: 10px; padding: 0 0 10px 10px; }
.legacy-form .lf-check-label { font-size: 18px; }
.legacy-form .lf-hint { font-size: 12px; margin: 5px 0; }
.legacy-form .lf-agree { text-align: center; font-size: 16px; margin: 14px 0 10px; }
.legacy-form .lf-agree a { color: #fff; text-decoration: none; }
.legacy-form .lf-agree a:hover { color: var(--red); }
.legacy-form .lf-agree input { vertical-align: -1px; margin-right: 4px; }
.legacy-form .lf-buttons { text-align: center; padding: 10px 0; }
.legacy-form .lf-btn { font: 12px Verdana, Arial, sans-serif; padding: 5px; margin: 0 4px; border: 1px solid #000; border-radius: 0; cursor: pointer; }
.legacy-form .lf-btn-register { background: #555; color: #fff; }
.legacy-form .lf-btn-register:hover { background: var(--red); }
.legacy-form .lf-btn-reset { background: #fff; color: #000; }
@media (max-width: 560px) {
  .legacy-form .lf-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .legacy-form .lf-row > label { flex: none; padding-left: 0; }
  .legacy-form .lf-row > label br { display: none; }
  .legacy-form .lf-input input[type=text], .legacy-form .lf-input input[type=email], .legacy-form .lf-input input[type=tel],
  .legacy-form .lf-input input[type=password], .legacy-form .lf-input select { width: 100%; box-sizing: border-box; height: 34px; font-size: 16px; }
  .legacy-form .lf-check { padding-left: 0; }
}
