/* Version A — Preserved. Recreates the 2016–2023 nailsprinting.com WordPress layout:
   top contact bar, logo row with "Call Us Now", full category menu, 40-design gallery pages
   with codes under each thumbnail, WordPress-style pagination, four-column footer.
   Colors are sampled from the original logo (navy #000099, gold #d39d4f, red #ee0013);
   the archived stylesheet itself could not be retrieved, so exact shades are approximate. */
:root {
  --navy: #0d1660; --navy-2: #000099; --gold: #d39d4f; --red: #c8101e;
  --ink: #222; --muted: #666; --line: #dcdcdc; --bg: #fff; --bar: #1d1d1f; --panel: #f4f4f4;
  --flag-bg: #fff3b0; --flag-fg: #5e4500;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.55 Arial, "Helvetica Neue", Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
[hidden] { display: none !important; }

/* review notes */
.review-bar { background: var(--flag-bg); color: var(--flag-fg); font-size: 13px; }
.review-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-block: 6px; }
.review-bar label { margin-left: auto; cursor: pointer; }
.hist, .flag, .archived, .note-review { display: none; }
body.review .hist { display: inline; background: var(--flag-bg); color: var(--flag-fg); padding: 0 3px; }
body.review .flag { display: inline-block; background: var(--flag-bg); color: var(--flag-fg); font-size: 11px; padding: 1px 6px; border-radius: 2px; }
body.review .archived { display: block; border: 1px dashed #c9a400; background: #fffbe6; padding: 10px 14px; margin: 14px 0; }
body.review .note-review { display: block; }
.ph { color: var(--muted); font-style: italic; }

/* header */
.topbar { background: var(--bar); color: #ddd; font-size: 12px; }
.topbar .ph { color: #bbb; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; padding-block: 6px; }
.upload-link { margin-left: auto; color: #fff; background: var(--red); padding: 3px 10px; text-decoration: none; font-weight: bold; }
.upload-link:hover { color: #fff; background: #a00; }
.brandrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 14px; }
.logo img { width: 300px; height: auto; display: block; }
.callus { font-size: 15px; color: var(--navy); }
.callus strong { font-size: 16px; }
.search { margin-left: auto; display: flex; }
.search input { font: inherit; border: 1px solid var(--line); padding: 5px 8px; width: 170px; }
.search button { font: inherit; border: 0; background: var(--navy); color: #fff; padding: 5px 10px; cursor: pointer; }
.mainnav { background: var(--navy); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav a { display: block; color: #fff; text-decoration: none; padding: 10px 11px; font-size: 13px; }
.mainnav a:hover, .mainnav a[aria-current="page"] { background: var(--gold); color: #111; }
.menu-toggle { display: none; }

/* content */
main { min-height: 50vh; padding-bottom: 30px; }
.crumbs { font-size: 12px; color: var(--muted); padding-block: 12px 0; }
.ptitle { font-size: 22px; font-weight: normal; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 6px; margin: 14px 0 16px; }
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero .wrap { display: flex; gap: 20px; align-items: center; padding-block: 18px; }
.hero h1 { font-size: 22px; font-weight: normal; color: var(--navy); margin: 0 0 6px; }
.hero img { width: 300px; flex-shrink: 0; border: 1px solid var(--line); }
.panels { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.panels a { display: block; text-decoration: none; border: 1px solid var(--line); background: #fff; }
.ptext { display: grid; place-content: center; text-align: center; aspect-ratio: 300 / 188; background: #f1f1f4; color: #333; font-weight: 600; }
.ptext small { display: block; font-weight: 400; color: #777; }
.panels img { display: block; width: 100%; aspect-ratio: 300 / 188; object-fit: cover; object-position: left top; }
.plabel { display: block; background: var(--navy); color: #fff; text-align: center; padding: 6px; font-size: 13px; }
.panels a:hover .plabel { background: var(--gold); color: #111; }

/* gallery */
.gallery { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { text-align: center; }
.thumb { display: block; border: 1px solid var(--line); padding: 5px; background: #fff; }
.thumb img { display: block; width: 100%; height: auto; }
.tcode { display: block; margin-top: 5px; font-size: 13px; }
.noimg { display: grid; place-content: center; min-height: 110px; color: var(--muted); font-size: 11px; background: repeating-linear-gradient(135deg, #fff 0 8px, #f3f3f3 8px 9px); }
.noimg b { color: var(--ink); font-size: 12px; }
.gap { background: var(--panel); border: 1px solid var(--line); padding: 12px; }
.pagination { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; margin: 10px 0; font-size: 12px; }
.pagination a, .pagination .current, .pagination .pages { border: 1px solid var(--line); padding: 3px 8px; text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* design page: image, description, then the order form (archived product-page order) */
.design .dimg { display: block; max-width: 640px; border: 1px solid var(--line); padding: 6px; margin-bottom: 12px; }
.design .dimg img { display: block; width: 100%; }
.order-form { max-width: 640px; margin-top: 10px; }
.frow { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 10px; align-items: start; margin-bottom: 8px; }
.frow label { padding-top: 5px; font-weight: bold; }
.frow input, .frow select, .frow textarea { font: inherit; border: 1px solid #bbb; padding: 5px 6px; width: 100%; }
.frow .hint, .codecheck { grid-column: 2; font-size: 12px; color: var(--muted); }
.btn-submit { font: inherit; background: var(--navy); color: #fff; border: 0; padding: 7px 22px; cursor: pointer; justify-self: start; }
.btn-submit:hover { background: var(--gold); color: #111; }
.proto { font-size: 12px; background: #eef3ff; border-left: 3px solid var(--navy-2); padding: 6px 10px; }
.result { background: var(--panel); border: 1px solid var(--line); padding: 10px; margin-top: 10px; }
.result.error { background: #fdecec; border-color: #e6a3a3; }
.result pre { white-space: pre-wrap; font-size: 12px; margin: 6px 0 0; }
.backlink { margin-top: 14px; }

/* information pages */
.prose { max-width: 760px; }
.contact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; }
.contact dt { font-weight: bold; }
.contact dd { margin: 0; }
.sitemap li { margin: 4px 0; }
.muted { color: var(--muted); }
.search-q { font: inherit; border: 1px solid #bbb; padding: 6px 8px; width: min(100%, 320px); margin-bottom: 12px; }
.results { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.results a { display: grid; gap: 3px; text-decoration: none; border: 1px solid var(--line); padding: 6px; }
.results img { width: 100%; }
.noimg-s { display: block; background: var(--panel); color: var(--muted); text-align: center; padding: 18px 4px; font-size: 12px; }

/* footer */
.site-footer { background: var(--bar); color: #ccc; font-size: 13px; }
.site-footer a { color: #fff; }
.site-footer .ph { color: #aaa; }
.fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 22px; }
.fcols h4 { color: var(--gold); font-size: 14px; margin: 0 0 8px; }
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fbottom { border-top: 1px solid #333; padding-block: 10px; font-size: 12px; color: #999; }

/* lightbox (the archived galleries opened images in a pop-up) */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 20px; }
.lb-inner { max-width: min(1000px, 100%); max-height: 100%; display: grid; gap: 8px; }
.lb-img { max-height: 80vh; width: auto; margin: 0 auto; background: #fff; }
.lb-bar { display: flex; gap: 10px; align-items: center; color: #fff; }
.lb-bar button, .lb-bar a { font: inherit; background: none; border: 1px solid #777; color: #fff; padding: 3px 10px; cursor: pointer; text-decoration: none; }
.lb-close { margin-left: auto; }

/* small screens: same layout, stacked (the archived theme was not built for phones) */
@media (max-width: 760px) {
  .menu-toggle { display: block; font: inherit; background: none; color: #fff; border: 0; padding: 10px 0; cursor: pointer; }
  .mainnav ul { display: none; flex-direction: column; }
  .mainnav ul.open { display: flex; }
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcols { grid-template-columns: 1fr 1fr; }
  .hero .wrap { flex-direction: column; align-items: flex-start; }
  .frow { grid-template-columns: 1fr; }
  .frow .hint, .codecheck { grid-column: 1; }
  .logo img { width: 240px; }
  .upload-link { margin-left: 0; }
}

/* ---- Family requests, November 13, 2026 ---------------------------------------------- */
/* Site background (supplied by the family); content sits on a white panel so text stays readable */
html { background: #8fd3e2; }
body { background: #8fd3e2 url("img/background.jpg") center top / cover no-repeat fixed; }
.site-header { background: rgba(255, 255, 255, .9); }
main { max-width: 1100px; margin: 18px auto; background: #fff; box-shadow: 0 2px 18px rgba(0, 60, 80, .18); border-radius: 4px; padding-bottom: 30px; }
main .wrap { max-width: none; }
.site-footer { margin-top: 0; }
.alt-phone { font-weight: normal; font-size: .92em; white-space: nowrap; }
.callus .alt-phone a { font-weight: bold; }
.cdesc { max-width: 78ch; margin: 0 0 14px; color: #333; }
.design .cdesc { max-width: 640px; }

/* rotating promotion banner (homepage) */
.promo { padding-block: 16px 0; }
.promo-frame { position: relative; aspect-ratio: 640 / 300; max-height: 420px; width: 100%; background: #000; border-radius: 4px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-video { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); background: #000; }
.pvideo { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vcap { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 22px; color: #fff; background: linear-gradient(160deg, #0d1660, #1b2a9a); }
.vcap b { font-size: 24px; color: var(--gold); }
.vcap span { font-size: 15px; }
.vcap .vcall { margin-top: 8px; font-size: 15px; }
.vcap a { color: #fff; font-weight: bold; }
.vsound { align-self: flex-start; margin-top: 10px; font: inherit; font-size: 12px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); padding: 3px 10px; cursor: pointer; }
.slide[data-kind="image"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: linear-gradient(120deg, #0d1660 0%, #1d2b9e 55%, #3aa9c6 100%); color: #fff; }
.stext { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 26px 40px; }
.skicker { margin: 0; color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: bold; }
.stext h2 { margin: 0; font-size: 30px; line-height: 1.15; }
.stext p { margin: 0; font-size: 15px; max-width: 42ch; }
.sbtn { align-self: flex-start; margin-top: 8px; background: var(--red); color: #fff; text-decoration: none; font-weight: bold; padding: 8px 16px; border-radius: 3px; }
.sbtn:hover { background: var(--gold); color: #111; }
.simgs { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 22px 40px 0; min-width: 0; }
.simgs img { max-height: 100%; max-width: 100%; min-width: 0; object-fit: contain; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.simgs.n2 img { max-width: calc(50% - 6px); }
.bprev, .bnext { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 46px; border: 0; background: rgba(0, 0, 0, .4); color: #fff; font-size: 28px; cursor: pointer; }
.bprev { left: 0; } .bnext { right: 0; }
.bprev:hover, .bnext:hover { background: var(--gold); color: #111; }
.bdots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.bdot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.bdot[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* homepage layout requested by the family (as in the reference-informed draft) */
.home-r .intro { padding-block: 20px 4px; }
.home-r .intro h1 { font-size: 26px; font-weight: normal; color: var(--navy); margin: 0 0 8px; }
.home-r .plist { margin: 0; line-height: 1.9; }
.home-r .plist b { color: var(--navy); margin-right: 4px; }
.home-r .collections { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.home-r .collections a { display: grid; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.home-r .collections a:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(13, 22, 96, .1); }
.home-r .cthumb { display: block; aspect-ratio: 4 / 3; background: #f1f2f6; padding: 10px; overflow: hidden; }
.home-r .cthumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-r .cthumb .ptext { aspect-ratio: auto; height: 100%; background: none; }
.home-r .plabel { display: block; background: none; color: var(--navy); text-align: left; font-weight: bold; font-size: 15px; padding: 10px 12px 0; }
.home-r .collections a:hover .plabel { background: none; color: var(--red); }
.home-r .pcount { display: block; color: var(--muted); font-size: 13px; padding: 2px 12px 12px; }
.home-r .howto, .home-r .help { margin-top: 22px; }
.home-r .howto h2, .home-r .help h2 { color: var(--navy); font-size: 20px; font-weight: normal; margin: 0 0 8px; }
.home-r .howto ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; max-width: 70ch; }
.home-r .help { background: #f7eddc; padding: 14px 18px; }
.home-r .help p { margin: 0; font-size: 15px; }

@media (max-width: 760px) {
  main { margin: 0; border-radius: 0; }
  .promo-frame { aspect-ratio: auto; height: 430px; max-height: none; }
  .slide-video { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pvideo { height: auto; aspect-ratio: 640 / 340; }
  .vcap { padding: 12px 16px 36px; }
  .slide[data-kind="image"] { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .stext { padding: 18px 44px 6px; }
  .stext h2 { font-size: 24px; }
  .stext p { font-size: 14px; }
  .simgs { padding: 8px 44px 40px; min-height: 0; }
  .home-r .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
.topbar a { color: #fff; }
@media (min-width: 761px) { .stext { padding-left: 52px; } .simgs { padding-right: 46px; } }

/* accepted cards (footer) */
.cards { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.cards-label { color: inherit; font-size: 13px; }
.card { display: inline-block; background: #fff; color: #1a1f71; font-weight: bold; font-size: 12px; letter-spacing: .02em; padding: 3px 8px; border-radius: 3px; border: 1px solid #ccc; }
.callus .open-hours { display: inline;  font-size: 14px; color: #333; }
.social-fb { font-weight: bold; }
.fcols > div { min-width: 0; } .social-fb { overflow-wrap: anywhere; }
.stext a.contact-link { color: #fff; font-weight: bold; }
.card-logo { height: 24px; width: auto; background: #fff; padding: 4px 7px; border-radius: 3px; box-sizing: content-box; vertical-align: middle; }
.card-logo { height: 30px; width: 64px; padding: 3px 6px; object-fit: contain; }
.card-logo[alt="Visa"] { padding: 9px 8px; height: 18px; width: 60px; }
.card-logo[alt="Discover"] { padding: 9px 6px; height: 18px; width: 80px; }
.upload-steps { display: grid; gap: 6px; max-width: 70ch; padding-left: 22px; }
.upload-btn { display: inline-block; background: #c8102e; color: #fff; font-weight: bold; font-size: 17px; text-decoration: none; padding: 12px 22px; border-radius: 4px; }
.upload-btn:hover { background: #a00d25; color: #fff; }
