:root {
  /* Novalink palette — navy and pink sampled from the logo */
  --ink: #141b3c;
  --muted: #5d6380;
  --line: #e2e4ee;
  --soft: #f5f6fa;
  --bar: #071339;         /* logo navy */
  --bar-hover: #1c2a5e;
  --pink: #f3548b;        /* logo pink: decoration and selected states only */
  --pink-tint: #fdeef3;
  --accent: #c42a63;      /* deeper pink so white button text stays readable */
  --accent-dark: #a21e50;
  --link: #c42a63;
  --ok: #2e7d32;
  --star: #e2711d;
  --maxw: 1280px;
  --font-display: Gabarito, 'Instrument Sans', Arial, sans-serif;
  --font-body: 'Instrument Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; font-feature-settings: 'kern'; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------- top utility bar ---------- */
.topbar { background: var(--bar); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.topbar a:hover { color: #f9b3cb; }
.topbar .right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar .cart-count { background: var(--pink); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; margin-left: 3px; }
.topbar .spot { position: relative; }
.topbar .spot > .menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; color: var(--ink); min-width: 180px; padding: 8px 0; box-shadow: 0 8px 20px rgba(7,19,57,.18); border-top: 3px solid var(--pink); z-index: 60; }
.topbar .spot:hover > .menu { display: block; }
.topbar .spot .menu a { display: block; padding: 6px 16px; }

/* ---------- header: contact / logo / search ---------- */
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.header .contact { text-align: center; font-size: 16px; }
.header .contact .msg { margin-top: 6px; }
.header .contact .msg b { color: var(--accent); }
.header .logo img { height: 74px; width: auto; }
.header .tools { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.social { display: flex; gap: 8px; }
.social a { width: 22px; height: 22px; background: var(--bar); color: #fff; border-radius: 3px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.search { display: flex; width: 100%; max-width: 330px; }
.search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-right: 0; border-radius: 22px 0 0 22px; padding: 10px 18px; outline: none; }
.search button { border: 0; background: var(--bar); color: #fff; width: 46px; border-radius: 0 22px 22px 0; cursor: pointer; }

/* ---------- main category nav + mega menu ---------- */
.mainnav { background: var(--bar); position: sticky; top: 0; z-index: 50; }
.mainnav > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.mainnav > .wrap > ul > li > a { display: block; color: #fff; padding: 14px 13px; font-size: 17px; }
.mainnav > .wrap > ul > li > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; transform: rotate(45deg); margin: 0 0 4px 7px; }
.mainnav li:hover > a { background: var(--bar-hover); box-shadow: inset 0 -3px 0 var(--pink); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 24px rgba(7,19,57,.18); border-top: 3px solid var(--pink); }
.mainnav li:hover .mega { display: block; }
.mega .wrap { display: grid; grid-template-columns: 1fr 260px; gap: 28px; padding-top: 22px; padding-bottom: 24px; }
.mega .cols { columns: 4 180px; column-gap: 28px; }
.mega h4 { margin: 0 0 8px; font-size: 16px; font-family: var(--font-display); font-weight: 700; break-after: avoid; }
.mega .cols a { display: block; padding: 3px 0; font-size: 14px; color: var(--ink); break-inside: avoid; }
.mega .cols a span { color: #999; font-size: 12px; }
.mega .feature { border-left: 1px solid var(--line); padding-left: 24px; }
.mega .feature img { aspect-ratio: 1; object-fit: contain; background: var(--soft); }
.mega .feature p { margin: 8px 0 0; font-size: 14px; }
.navtoggle { display: none; }

/* ---------- hero carousel ---------- */
.hero { position: relative; overflow: hidden; background: var(--pink-tint); }
.hero .slide { display: none; min-height: 380px; }
.hero .slide.on { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; }
.hero .copy { padding: 40px 6vw; }
.hero .copy small { color: var(--accent); font-size: 16px; font-weight: 600; }
.hero .copy h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.1; margin: 10px 0 16px; font-weight: 700; }
.hero .copy p { color: #3a4163; max-width: 460px; margin: 0 0 22px; }
.hero .pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 30px 40px 30px 0; }
.hero .pics img { background: #fff; aspect-ratio: 1; object-fit: contain; border-radius: 6px; box-shadow: 0 6px 18px rgba(196,42,99,.10); }
.hero .pics img:nth-child(2) { transform: translateY(-18px); }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; font-size: 20px; }
.hero .prev { left: 14px; } .hero .next { right: 14px; }
.hero .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #e8b7c8; cursor: pointer; padding: 0; }
.hero .dots button.on { background: var(--accent); }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 4px; padding: 9px 18px; cursor: pointer; font-size: 15px; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--bar); border: 1px solid var(--bar); }
.btn.ghost:hover { background: var(--bar); color: #fff; }

/* ---------- product grid ---------- */
.section-title { text-align: center; font-size: 31px; margin: 48px 0 28px; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 18px; }
.card { text-align: center; }
.card .ph { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .ph img { transform: scale(1.05); }
.card .nm { margin-top: 12px; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .pr { font-size: 14px; margin-top: 6px; color: var(--ink); font-weight: 600; }
.card .meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.card .stock { color: var(--ok); font-size: 13px; }
.see-more { text-align: center; margin: 30px 0 10px; }

.welcome { max-width: 980px; margin: 50px auto; text-align: center; }
.welcome h2 { font-weight: 500; font-size: 26px; }
.welcome p { color: #3a4163; }

.ideas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; }
.ideas a { position: relative; display: block; aspect-ratio: 4/3; background: var(--soft); overflow: hidden; }
.ideas img { width: 100%; height: 100%; object-fit: contain; padding: 14px 14px 46px; }
.ideas span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(7,19,57,.88); color: #fff; padding: 10px; text-align: center; font-size: 17px; }

/* ---------- footer ---------- */
.footer { background: var(--bar); color: #ccc; margin-top: 50px; padding: 30px 0; font-size: 14px; text-align: center; }
.footer nav { display: flex; justify-content: center; gap: 26px; margin-bottom: 14px; flex-wrap: wrap; }
.footer nav a { color: #fff; }
.footer .social { justify-content: center; margin-bottom: 16px; }
.footer .social a { background: #fff; color: #000; }
.footer p { max-width: 900px; margin: 0 auto; font-size: 12px; color: #999; }

/* ---------- breadcrumb / list page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0; }
.crumbs a { color: var(--link); }
.listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; }
.filters h3 { font-size: 20px; font-weight: 500; margin: 22px 0 10px; }
.filters h3:first-child { margin-top: 0; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 2px 0; cursor: pointer; }
.filters label span { color: var(--muted); }
.filters .more { color: var(--link); font-size: 13px; cursor: pointer; background: none; border: 0; padding: 4px 0; }
.filters .hidden { display: none; }
.filters input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.list-head h1 { font-size: 26px; font-weight: 500; margin: 0; }
.list-head select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; }
.listing .grid { grid-template-columns: repeat(4, 1fr); }
.listing .card { text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips button { border: 1px solid var(--line); background: var(--soft); border-radius: 14px; padding: 2px 10px; font-size: 13px; cursor: pointer; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 34px 0 0; flex-wrap: wrap; }
.pager button { min-width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; cursor: pointer; border-radius: 4px; }
.pager button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- product detail ---------- */
.pd-next { display: flex; justify-content: flex-end; font-size: 14px; padding: 10px 0 0; gap: 16px; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
.gallery .main { display: flex; gap: 18px; justify-content: center; }
.gallery .main img { min-width: 0; flex: 0 1 440px; width: 100%; aspect-ratio: 1; object-fit: contain; }
.swatches { display: flex; flex-direction: column; gap: 9px; padding-top: 30px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); cursor: pointer; }
.swatch.on { outline: 2px solid var(--pink); outline-offset: 2px; }
.gallery .tools { text-align: center; font-size: 14px; margin: 10px 0 18px; display: flex; justify-content: center; gap: 16px; }
.thumbs { display: flex; align-items: center; gap: 8px; }
.thumbs .track { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
.thumbs .track img { width: 112px; height: 112px; object-fit: contain; flex: none; cursor: pointer; border: 2px solid transparent; }
.thumbs .track img.on { border-color: var(--pink); }
.thumbs button { border: 0; background: none; font-size: 26px; color: #999; cursor: pointer; }
.info h1 { font-size: 30px; font-weight: 500; margin: 0 0 8px; line-height: 1.25; }
.info .item { font-size: 17px; }
.info .share { display: flex; gap: 16px; font-size: 14px; margin: 6px 0 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { border: 0; background: none; padding: 9px 15px; font-size: 17px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--pink); }
.tabpane { min-height: 120px; }
.tabpane dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 12px; margin: 0; }
.tabpane dt { font-weight: 600; }
.tabpane dd { margin: 0; }
.badge { display: inline-block; background: var(--ok); color: #fff; font-size: 14px; padding: 2px 9px; border-radius: 3px; margin: 18px 0 10px; }
.prices { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
.prices th, .prices td { border: 1px solid var(--line); padding: 9px 6px; text-align: left; overflow-wrap: anywhere; }
.prices tr > :first-child { width: 24%; }
.prices th { background: var(--soft); }
.prices td:first-child small { font-size: 13px; }
.setup-note { font-size: 14px; color: var(--muted); margin: 14px 0 22px; }
.order { display: grid; grid-template-columns: 1fr 2.2fr; gap: 12px; }
.order .fld { border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; }
.order .fld label { display: block; font-size: 13px; color: var(--muted); }
.order .fld input, .order .fld select { border: 0; width: 100%; padding: 4px 0 6px; outline: none; background: transparent; }
.order .full { grid-column: 2; }
.order .est { grid-column: 1 / -1; font-size: 14px; color: var(--ink); }
.order .actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.related { margin-top: 30px; }

/* ---------- cart / simple pages / modal ---------- */
main.page { max-width: 900px; margin: 0 auto; padding: 10px 16px 30px; }
main.page h1 { font-weight: 500; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td, .cart-table th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: middle; }
.cart-table img { width: 70px; height: 70px; object-fit: contain; }
.cart-table input { width: 80px; padding: 5px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea, .form select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; }
.form textarea { min-height: 110px; }
.modal { position: fixed; inset: 0; background: rgba(7,19,57,.55); display: none; place-items: center; z-index: 100; padding: 16px; }
.modal.on { display: grid; }
.modal .box { background: #fff; border-radius: 6px; max-width: 560px; width: 100%; padding: 24px; max-height: 90vh; overflow: auto; position: relative; }
.modal .x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 26px; cursor: pointer; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--bar); color: #fff; padding: 10px 18px; border-radius: 4px; display: none; z-index: 110; }
.toast.on { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .listing .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .topbar ul { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .header .wrap { grid-template-columns: 1fr; text-align: center; }
  .header .contact { order: 2; font-size: 14px; }
  .header .logo { order: 1; justify-self: center; }
  .header .logo img { height: 56px; }
  .header .tools { order: 3; align-items: center; }
  .header .social { display: none; }
  .navtoggle { display: block; width: 100%; background: none; border: 0; color: #fff; padding: 12px 0; font-size: 16px; text-align: left; cursor: pointer; }
  .mainnav > .wrap > ul { display: none; flex-direction: column; }
  .mainnav.open > .wrap > ul { display: flex; }
  .mainnav > .wrap > ul > li > a { padding: 10px 0; border-top: 1px solid var(--bar-hover); }
  .mainnav li:hover .mega { display: none; }
  .hero .slide.on { grid-template-columns: 1fr; }
  .hero .pics { padding: 0 20px 40px; }
  .hero .copy { padding: 30px 24px 10px; }
  .grid, .listing .grid { grid-template-columns: repeat(2, 1fr); }
  .ideas { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .pd { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .thumbs .track img { width: 76px; height: 76px; }
  .tabpane dl { grid-template-columns: 1fr; }
  .tabpane dt { margin-top: 6px; }
  .prices { font-size: 13px; }
  .order { grid-template-columns: 1fr; }
  .order .full { grid-column: 1; }
  .form { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .mainnav, .footer, .header .tools, .order, .related, .thumbs { display: none !important; }
}

/* ---------- v2: spotlight menu / footer ---------- */
.topbar .spot > .menu.wide { display: none; grid-template-columns: repeat(3, 190px); gap: 10px 24px; padding: 16px 20px; }
.topbar .spot:hover > .menu.wide { display: grid; }
.topbar .menu h5 { margin: 6px 0 4px; font-size: 14px; font-weight: 700; color: var(--bar); font-family: var(--font-display); }
.topbar .menu.wide a { padding: 3px 0; }
.footer { background: var(--soft); color: var(--muted); padding: 0 0 30px; border-top: 3px solid var(--bar); }
.footer .links { border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.footer .links .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.footer .links a { color: var(--ink); }
.footer .flogo img { height: 64px; margin: 0 auto 16px; }
.footer .social a { background: var(--bar); color: #fff; }
.pay { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.pay span { background: var(--bar); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 3px; letter-spacing: .5px; }
.footer p { color: var(--muted); }

/* ---------- v2: helpers ---------- */
.small { font-size: 13px; }
.muted { color: var(--muted); }
.prices th { overflow-wrap: normal; }
.table-scroll { overflow-x: auto; }
.filter-toggle { display: none; }
.wide-page { max-width: 1100px; }

/* ---------- v2: advanced search ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.adv .wide { grid-column: 1 / -1; }
.adv label, .form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.adv input, .adv select { border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; font-size: 15px; color: var(--ink); background: #fff; }
.adv-btns { display: flex; justify-content: space-between; }

/* ---------- v2: content pages ---------- */
main.page h2 { font-weight: 500; margin: 28px 0 10px; }
main.page .lead { font-size: 17px; color: #333; }
.banner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; background: var(--soft); padding: 12px; border-radius: 4px; }
.banner img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.ticks { padding-left: 20px; }
.ticks li { margin: 4px 0; }
.howto { list-style: none; counter-reset: s; padding: 0; }
.howto li { counter-increment: s; position: relative; padding: 4px 0 10px 60px; border-left: 2px solid var(--line); margin-left: 20px; }
.howto li::before { content: counter(s); position: absolute; left: -20px; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; }
.howto h3 { margin: 6px 0 4px; font-weight: 600; }
.howto p { margin: 0; color: #3a4163; }
.howto a, .contact-info a, main.page p a:not(.btn) { color: var(--link); }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: #3a4163; }
.form.one { grid-template-columns: 1fr; }
.form h2 { grid-column: 1 / -1; margin-top: 0; }
.contact-info { background: var(--soft); padding: 20px; border-radius: 4px; }

/* ---------- v2: checkout ---------- */
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 150px; padding: 10px 14px; background: var(--soft); color: var(--muted); font-size: 14px; border-bottom: 3px solid var(--line); }
.steps li.on { color: var(--ink); border-color: var(--pink); font-weight: 600; }
.steps li.done { color: var(--ok); border-color: var(--ok); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.nav-btns { display: flex; justify-content: space-between; gap: 10px; }
.summary { background: var(--soft); padding: 16px; border-radius: 4px; }
.summary h3 { margin: 0 0 10px; font-weight: 600; }
.summary ul { list-style: none; padding: 0; margin: 0; }
.summary li { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary img { width: 50px; height: 50px; object-fit: contain; background: #fff; }
.review h3 { margin: 0 0 6px; font-weight: 600; }
.review p { margin: 0 0 18px; }
.done-box { text-align: center; padding: 40px 0; }
.done-box a:not(.btn) { color: var(--link); }

/* ---------- v2: logo preview tool ---------- */
.modal .box.xl { max-width: 980px; }
.logo-tool { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
.logo-tool canvas { width: 100%; height: auto; max-height: 72vh; object-fit: contain; border: 1px solid var(--line); touch-action: none; cursor: move; }
.lt-ctrl { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.lt-ctrl label { display: flex; flex-direction: column; gap: 4px; }
.lt-ctrl label.btn { text-align: center; }
.lt-ctrl .chk { flex-direction: row; align-items: center; gap: 8px; }
.lt-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lt-imgs img { aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); cursor: pointer; }

@media (max-width: 860px) {
  .filter-toggle { display: block; width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--soft); border-radius: 4px; cursor: pointer; font-size: 15px; }
  .filters > :not(.filter-toggle) { display: none; }
  .filters.open > :not(.filter-toggle):not(.hidden) { display: flex; }
  .filters.open > h3, .filters.open > input { display: block; }
  .adv { grid-template-columns: 1fr; }
  .banner { grid-template-columns: repeat(3, 1fr); }
  .two-col, .co-grid, .logo-tool { grid-template-columns: 1fr; }
  .topbar .spot > .menu.wide { grid-template-columns: 1fr; }
}

/* ---------- WordPress theme additions ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice { background: #eaf4ec; border-left: 4px solid var(--ok); padding: 10px 14px; margin: 10px 0 0; }
.notice.err { background: #fbeaea; border-color: #c62d2d; }
.form-msg { color: #c62d2d; font-size: 14px; margin: 0; }
.form label.chk { flex-direction: row; align-items: center; gap: 8px; }
.form .wide, .form h2 { grid-column: 1 / -1; }
.pager a, .pager span { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; display: inline-grid; place-items: center; background: #fff; }
.pager .current { background: var(--bar); color: #fff; border-color: var(--bar); }
.pager .dots { border: 0; }
.chips a { align-self: center; color: var(--link); margin-left: 6px; }
.entry img { height: auto; }
.entry a { color: var(--link); }
.entry h2 { font-weight: 500; margin: 28px 0 10px; }
.entry .wp-block-columns { gap: 40px; }
.entry details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.entry details summary { cursor: pointer; font-weight: 600; }
.mega .feature img { width: 100%; height: auto; }
.hero .pics img { width: 100%; height: auto; }
.ideas img { width: 100%; height: 100%; }
.card .ph img { height: 100%; }
.tabpane[hidden] { display: none; }
.header .logo img { max-width: 100%; }

/* ---------- Novalink brand details ---------- */
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.header .logo img { height: 78px; }
.footer .flogo img { height: 60px; width: auto; }
.footer .flogo .logo { display: inline-block; }
.section-title { color: var(--bar); }
.list-head h1, .info h1, main.page h1 { color: var(--bar); }
.prices th { background: var(--bar); color: #fff; border-color: var(--bar); }
.card:hover .nm { color: var(--accent); }
/* The logo's four-point sparkles, used once: beside the hero headline. */
.hero .copy { position: relative; }
.hero .copy::before {
  content: ""; position: absolute; left: calc(6vw - 52px); top: 14px; width: 56px; height: 74px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 84'%3E%3Cg fill='%23f3548b'%3E%3Cpath d='M18 2c1.2 7.6 4.4 10.8 12 12-7.6 1.2-10.8 4.4-12 12-1.2-7.6-4.4-10.8-12-12 7.6-1.2 10.8-4.4 12-12z'/%3E%3Cpath d='M44 44c.8 5 2.9 7.1 7.9 7.9-5 .8-7.1 2.9-7.9 7.9-.8-5-2.9-7.1-7.9-7.9 5-.8 7.1-2.9 7.9-7.9z' opacity='.75'/%3E%3Cpath d='M12 66c.5 3.2 1.8 4.5 5 5-3.2.5-4.5 1.8-5 5-.5-3.2-1.8-4.5-5-5 3.2-.5 4.5-1.8 5-5z' opacity='.55'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 860px) { .hero .copy::before { left: 4px; top: 10px; width: 44px; height: 58px; } }

/* ---------- Phone layout ---------- */
.sub-toggle, .prices-m { display: none; }
@media (max-width: 860px) {
  /* Compact header: logo, one contact line, search. */
  .header .wrap { gap: 8px; padding-top: 10px; padding-bottom: 12px; }
  .header .logo img { height: 50px; }
  .header .contact { font-size: 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; }
  .header .contact .msg { display: none; }
  .search input { padding: 9px 16px; }

  /* Category menu: +/− opens subcategories inline. */
  .mainnav > .wrap > ul > li { position: relative; }
  .mainnav > .wrap > ul > li > a { padding-right: 48px; }
  .mainnav > .wrap > ul > li > a::after { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 48px; height: 45px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
  .sub-toggle::before { content: "+"; }
  .mainnav li.open > .sub-toggle::before { content: "\2212"; }
  .mainnav li.open .mega { display: block; position: static; box-shadow: none; border-top: 0; background: var(--bar-hover); }
  .mainnav li.open .mega .wrap { display: block; padding: 8px 0 12px 14px; }
  .mainnav li.open .mega .cols { columns: 2; column-gap: 16px; }
  .mainnav li.open .mega .cols a { color: #fff; padding: 5px 0; }
  .mainnav li.open .mega .cols a span { color: #a9b0cf; }
  .mainnav li.open .mega h4 a { color: #f9b3cb; }
  .mainnav .mega .feature { display: none; }

  /* Hero: dots only (arrows covered the text); sparkles move to the top-right corner. */
  .hero .arrow { display: none; }
  .hero .copy::before { left: auto; right: 14px; top: 14px; }
  .hero .copy { padding: 26px 20px 12px; }

  /* Price breaks as a list. */
  .prices { display: none; }
  .prices-m { display: table; width: 100%; border-collapse: collapse; font-size: 15px; }
  .prices-m th { background: var(--bar); color: #fff; text-align: left; padding: 8px 12px; font-weight: 600; }
  .prices-m td { border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .prices-m td:last-child, .prices-m th:last-child { text-align: right; }
  .prices-m tr:nth-child(even) td { background: var(--soft); }
}

/* ---------- Product page: description + full spec sheet (replaces tabs) ---------- */
.info .desc { margin: 6px 0 4px; color: #2c3354; }
.info .desc p { margin: 0 0 10px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 6px 0 4px; border-top: 2px solid var(--bar); }
.spec { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec.full { grid-column: 1 / -1; }
.spec dt { color: var(--muted); font-weight: 600; }
.spec dd { margin: 0; color: var(--ink); }
@media (max-width: 1100px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Product image hover zoom ---------- */
.gallery .zoom { flex: 0 1 440px; min-width: 0; overflow: hidden; background: #fff; }
.gallery .zoom img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .2s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .gallery .zoom { cursor: zoom-in; }
  .gallery .zoom.on img { transform: scale(2.2); }
}
@media (prefers-reduced-motion: reduce) { .gallery .zoom img { transition: none; } }

/* ---------- Product page: gallery follows scrolling until the info column ends ---------- */
/* Sticky inside the .pd grid, so it stops at the bottom of the details/price/order column. */
@media (min-width: 861px) and (min-height: 700px) {
  .pd { align-items: start; }
  .pd .gallery { position: sticky; top: 68px; }          /* below the sticky category bar */
  .admin-bar .pd .gallery { top: 100px; }
}
/* Logged-in staff: keep the category bar below WordPress's admin bar instead of under it. */
@media (min-width: 783px) { .admin-bar .mainnav { top: 32px; } }
@media (max-width: 782px) { .admin-bar .mainnav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .mainnav { top: 0; } }

/* ---------- Typography: Gabarito (display) + Instrument Sans (body) ---------- */
/* Scale: 1.25 ratio on a 16px base — 13 / 14 / 16 / 20 / 25 / 31 / 39. */
h1, h2, h3, h4, .section-title, .mainnav > .wrap > ul > li > a, .navtoggle, .btn, .info h1, .list-head h1, .welcome h2, .hero .copy h2, .ideas span, .prices th, .prices-m th, .footer .links a {
  font-family: var(--font-display);
}
h1, h2, h3, .section-title { font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; color: var(--bar); }
.hero .copy h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; margin: 8px 0 18px; }
.hero .copy p { font-size: 17px; line-height: 1.55; }
.mainnav > .wrap > ul > li > a { font-size: 16px; font-weight: 600; letter-spacing: .01em; }
.topbar { font-size: 14px; }
.btn { font-weight: 600; font-size: 15px; letter-spacing: .01em; padding: 10px 20px; }
.info h1 { font-size: 31px; line-height: 1.15; }
.list-head h1, main.page h1 { font-size: 31px; }
main.page h2, .entry h2, .welcome h2 { font-size: 25px; }
.card .nm { font-size: 15px; font-weight: 500; line-height: 1.35; }
.card .pr, .prices td, .prices th, .prices-m td, .order .est, .summary li span, .cart-table td { font-variant-numeric: tabular-nums; }
.card .pr { font-size: 15px; }
.prices { font-size: 16px; }
.spec { font-size: 15px; }
.info .desc { font-size: 16px; line-height: 1.65; max-width: 68ch; }
.ideas span { font-size: 18px; font-weight: 600; }
.mega .cols a { font-size: 15px; }
.crumbs { font-size: 14px; }
@media (max-width: 860px) {
  .section-title { font-size: 25px; margin: 36px 0 20px; }
  .info h1, .list-head h1, main.page h1 { font-size: 25px; }
  .hero .copy h2 { font-size: 36px; }
}

/* Description: bold parts carry what it is, when to use it and its size. */
.info .desc { color: #3a4163; }
.info .desc strong { color: var(--bar); font-weight: 600; }

/* Key words in the description: two-tone highlighter in the logo pink —
   a faint wash over the whole word, a stronger band along the bottom. */
.info .desc mark.use-case {
  color: var(--bar);
  font-weight: 500;
  padding: 1px 3px;
  margin: 0 -1px;
  border-radius: 3px;
  background: linear-gradient(to top, rgba(243, 84, 139, .32) 0 36%, rgba(243, 84, 139, .10) 36% 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Header contact block: Customer Service phone, email, tagline ---------- */
.header .contact { justify-self: start; display: grid; gap: 6px; text-align: left; font-size: 14px; }
.header .contact .c-phone { display: flex; align-items: center; gap: 10px; color: var(--bar); }
.header .contact .c-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--pink-tint); color: var(--accent); }
.header .contact .c-text { display: grid; line-height: 1.15; }
.header .contact .c-text small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.header .contact .c-text b { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--bar); font-variant-numeric: tabular-nums; }
.header .contact .c-phone:hover b { color: var(--accent); }
.header .contact .c-mail { padding-left: 48px; color: var(--ink); }
.header .contact .c-mail:hover { color: var(--accent); }
.header .contact .c-tag { margin-left: 48px; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; background: var(--pink-tint); color: var(--accent); font-size: 13px; font-weight: 600; }
.header .contact .c-tag b { color: inherit; }
@media (max-width: 860px) {
  .header .contact { justify-self: center; justify-items: center; gap: 2px; }
  .header .contact .c-ico { width: 32px; height: 32px; }
  .header .contact .c-text b { font-size: 18px; }
  .header .contact .c-mail { padding-left: 0; font-size: 13px; }
  .header .contact .c-tag { display: none; }
}
