/*
Theme Name: StudioDev
Theme URI: https://studiodevllc.shop/
Author: StudioDev LLC
Author URI: https://studiodevllc.shop/
Description: One-page engineering-drawing site for StudioDev LLC. Software development and IT.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: studiodev
*/

/* Studiodev LLC — the site as an engineering drawing sheet.
   Two themes: paper (default) and blueprint. */

:root {
  --paper: #f3efe6;
  --ink: #16233f;
  --accent: #d93a1f;
  --soft: color-mix(in srgb, var(--ink) 68%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 7%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 13%, transparent);
  --shade: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --pad: clamp(20px, 4vw, 56px);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --hand: "Caveat", "Segoe Script", cursive;
}
:root[data-theme="blueprint"] {
  --paper: #123a7c;
  --ink: #eef4ff;
  --accent: #ffd23f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.55;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  transition: background-color .4s, color .4s;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sheet { max-width: 1360px; margin: 0 auto; border-inline: 1px solid var(--ink); }
section { border-bottom: 1px solid var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3, .wordmark, .mat, .letter, .stamp {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: clamp(3.4rem, min(9.4vw, 13.5vh), 9rem); line-height: .86; letter-spacing: -.01em; }
h2 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); line-height: .88; }
h3 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: .95; font-weight: 800; }
.tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; margin: 0 0 18px; color: var(--soft);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 34em; margin: 0; }
.hand { font-family: var(--hand); color: var(--accent); font-size: 1.7rem; line-height: 1; font-style: normal; }

/* ---------- Title-block nav ---------- */
.tb {
  position: sticky; top: 0; z-index: 20; display: flex;
  background: var(--paper); border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .4s;
}
.tb-cell {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  border: 0; border-right: 1px solid var(--ink); background: none; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: none; cursor: pointer;
}
.tb-logo { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 1.35rem; letter-spacing: .01em; }
.tb-logo sup { font-family: var(--mono); font-size: .55rem; font-weight: 400; letter-spacing: .1em; margin-left: 2px; }
.tb-meta { cursor: default; color: var(--soft); }
.tb-meta b { color: var(--ink); font-weight: 500; }
.tb-nav { display: flex; flex: 1; }
.tb-nav a span { color: var(--accent); }
.tb-nav a:hover, .tb-mode:hover { background: var(--ink); color: var(--paper); }
.tb-mode { border-left: 1px solid var(--ink); }
.tb-mode::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); border-radius: 50%; }
.tb-cta { background: var(--ink); color: var(--paper); border-right: 0; }
.tb-cta:hover { background: var(--accent); }
.tb-burger { display: none; border-right: 0; border-left: 1px solid var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 17px 24px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.alt { background: transparent; color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Dimension line ---------- */
.dim { display: flex; align-items: center; gap: 14px; border-inline: 1px solid var(--ink); height: 18px; }
.dim span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.dim i { flex: 1; height: 1px; background: var(--ink); position: relative; }
.dim i::before { content: ""; position: absolute; top: -3px; border-block: 3.5px solid transparent; }
.dim i:first-child::before { left: 0; border-right: 9px solid var(--ink); }
.dim i:last-child::before { right: 0; border-left: 9px solid var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; min-height: calc(100vh - 53px); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px var(--pad); position: relative; }
.hero-copy .tag { margin: 0; }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; inset: -14% -9% -18%; width: 118%; height: 132%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .circled path { stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease-out 1.5s; }
.js .ready .circled path { stroke-dashoffset: 0; }
.hero-note { margin: -30px 0 -10px clamp(120px, 20vw, 300px); transform: rotate(-4deg); width: max-content; }
.js .hero-note { opacity: 0; transition: opacity .4s 2.3s; }
.js .ready .hero-note { opacity: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .dim { margin-top: 6px; }

.fig { margin: 0; border-left: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(12px, 2vw, 28px) 56px; position: relative; }
.fig svg { width: 100%; height: auto; max-height: 76vh; overflow: visible; }
.fig figcaption, .coords { position: absolute; bottom: 16px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.fig figcaption { left: 20px; }
.fig figcaption span { color: var(--accent); margin-right: 8px; }
.coords { right: 20px; }

.fig .side { fill: var(--shade); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.fig .side-edge { stroke: var(--ink); stroke-width: 1.5; }
.fig .top * { vector-effect: non-scaling-stroke; fill: none; stroke: var(--ink); stroke-width: 1; }
.fig .top > rect:first-child { fill: var(--paper); stroke-width: 1.5; transition: fill .2s; }
.fig .top .f { fill: var(--paper); }
.fig a:hover .top > rect:first-child, .fig a:focus-visible .top > rect:first-child { fill: color-mix(in srgb, var(--accent) 34%, var(--paper)); }
.fig a:hover .top .f, .fig a:focus-visible .top .f { fill: color-mix(in srgb, var(--accent) 34%, var(--paper)); }
.fig a { outline: none; cursor: pointer; }
.callout path { fill: none; stroke: var(--ink); stroke-width: 1; }
.callout text { font-family: var(--mono); font-size: 9px; letter-spacing: .5px; fill: var(--ink); }
.balloon circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1; transition: fill .2s; }
.balloon text { font-size: 12px; font-weight: 500; text-anchor: middle; letter-spacing: 0; }
.fig a:hover .balloon circle, .fig a:focus-visible .balloon circle { fill: var(--accent); }
.fig a:hover .balloon text, .fig a:focus-visible .balloon text { fill: var(--paper); }
.axis .axis-line { stroke: var(--accent); stroke-dasharray: 16 5 2 5; }

/* the stack starts collapsed and pulls apart */
.js .layer { transform: translateY(calc((2 - var(--i)) * 70px)); transition: transform 1.3s cubic-bezier(.2, .8, .2, 1) .3s; }
.js .ready .layer { transform: none; }
.js .callout { opacity: 0; transition: opacity .5s 1.4s; }
.js .ready .callout { opacity: 1; }

/* crosshair */
.xh { position: absolute; background: var(--accent); opacity: 0; pointer-events: none; z-index: 2; transition: opacity .2s; }
.xh-x { top: 0; bottom: 0; left: 0; width: 1px; transform: translateX(var(--mx, 0)); }
.xh-y { left: 0; right: 0; top: 0; height: 1px; transform: translateY(var(--my, 0)); }
.hero.tracking .xh { opacity: .3; }

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: 32px; align-items: end; padding: clamp(56px, 8vw, 110px) var(--pad) clamp(28px, 4vw, 48px); }
.sec-side { margin: 0; font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: var(--soft); }

/* ---------- Parts list ---------- */
.bom-head, .bom li { display: grid; grid-template-columns: 56px minmax(200px, 1.1fr) 1.7fr minmax(170px, .8fr); gap: 28px; padding-inline: var(--pad); }
.bom-head { padding-block: 10px; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.bom { list-style: none; margin: 0; padding: 0; }
.bom li { padding-block: 30px; border-top: 1px solid var(--ink); align-items: start; transition: background-color .2s, color .2s; }
.bom li:hover { background: var(--ink); color: var(--paper); }
.bom p { margin: 4px 0 0; max-width: 34em; }
.no { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--mono); font-weight: 500; font-size: .9rem; }
.bom li:hover .no { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.spec { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; opacity: .8; }
.bom li:target { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { background: color-mix(in srgb, var(--accent) 40%, var(--paper)); } }

/* ---------- Revisions ---------- */
.revs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.revs li { padding: 28px clamp(18px, 2.4vw, 32px) 44px; border-left: 1px solid var(--ink); }
.revs li:first-child { border-left: 0; }
.letter { display: block; font-size: clamp(7rem, 15vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 26px; transition: color .25s; }
.revs li:hover .letter { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.revs .tag { margin-bottom: 6px; color: var(--accent); }
.revs p:last-child { margin: 12px 0 0; }

/* ---------- Materials ---------- */
.mat { padding: 0 var(--pad) clamp(56px, 8vw, 110px); font-size: clamp(2rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.02; }
.mat span { transition: color .15s; cursor: default; }
.mat span:hover { color: var(--accent); }
.mat span:not(:last-child)::after { content: " / "; color: var(--accent); font-weight: 400; }

/* ---------- Notes ---------- */
.notes, .rfq { display: grid; grid-template-columns: 1fr 1.15fr; }
.notes > *, .rfq > * { padding: clamp(56px, 8vw, 110px) var(--pad); }
.notes h2, .rfq h2 { margin-bottom: 28px; }
.notelist { margin: 0; list-style: none; counter-reset: n; border-left: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: center; }
.notelist li { counter-increment: n; position: relative; padding: 20px 0 20px 56px; border-top: 1px dashed var(--soft); font-family: var(--mono); font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.6; }
.notelist li:first-child { border-top: 0; }
.notelist li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--accent); }
.notelist .hand { display: inline-block; text-transform: none; letter-spacing: 0; transform: rotate(-3deg); margin-left: 8px; }

/* ---------- Request for quote ---------- */
.direct { margin: 28px 0 0; font-family: var(--mono); font-size: .85rem; line-height: 1.9; }
.direct a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.rfq > .form { border-left: 1px solid var(--ink); overflow: hidden; }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
.cell { grid-column: 1 / -1; display: block; padding: 12px 16px 14px; border: 1px solid var(--ink); margin: -1px 0 0 0; transition: background-color .15s; }
.cell.half { grid-column: auto; }
.cell.half + .cell.half { margin-left: -1px; }
.cell:focus-within { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cell span { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.cell input, .cell select, .cell textarea { width: 100%; border: 0; background: transparent; color: var(--ink); font: 500 1.1rem var(--display); padding: 0; outline: none; resize: vertical; }
.cell select { appearance: none; cursor: pointer; }
.cell option { background: var(--paper); color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.submit { grid-column: 1 / -1; margin-top: -1px; text-align: left; padding-block: 20px; }
.form-status { grid-column: 1 / -1; margin: 14px 0 0; min-height: 1.5em; font-family: var(--mono); font-size: .8rem; }
.form-status.err { color: var(--accent); }
.stamp { position: absolute; right: 8%; top: 42%; padding: 6px 18px 4px; border: 4px solid var(--accent); color: var(--accent); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: .04em; transform: rotate(-12deg) scale(1.8); opacity: 0; pointer-events: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .15s; }
.form.sent .stamp { transform: rotate(-12deg) scale(1); opacity: .92; }

/* ---------- Footer title block ---------- */
.titleblock { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.titleblock div { padding: 12px 16px 14px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.titleblock div:nth-child(4n) { border-right: 0; }
.titleblock dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.titleblock dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.wordmark { display: block; text-align: center; text-decoration: none; white-space: nowrap; overflow: hidden; font-size: min(22.6vw, 308px); line-height: .78; padding-top: .06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .3s; }
.wordmark:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tb-meta { display: none; }
}
@media (max-width: 900px) {
  .tb-nav { display: none; position: absolute; top: 53px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .tb-nav.open { display: flex; }
  .tb-nav .tb-cell { border-right: 0; border-top: 1px solid var(--line-2); }
  .tb-logo { margin-right: auto; border-right: 0; }
  .tb-burger { display: flex; }
  .tb-cta { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  h1 { font-size: clamp(3.4rem, 15.5vw, 8rem); }
  .hero-note { margin-left: 40%; }
  .fig { border-left: 0; border-top: 1px solid var(--ink); }
  .fig svg { max-height: none; }
  .coords, .xh { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .bom-head { display: none; }
  .bom li { grid-template-columns: 38px 1fr; gap: 6px 16px; padding-block: 24px; }
  .bom h3 { align-self: center; }
  .bom p, .spec { grid-column: 2; }
  .revs { grid-template-columns: 1fr 1fr; }
  .revs li:nth-child(3) { border-left: 0; }
  .revs li:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .notes, .rfq { grid-template-columns: 1fr; }
  .notes > *, .rfq > * { padding-block: clamp(40px, 8vw, 64px); }
  .notelist, .rfq > .form { border-left: 0; border-top: 1px solid var(--ink); }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 520px) {
  .revs { grid-template-columns: 1fr; }
  .revs li { border-left: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; padding-bottom: 28px; }
  .revs li:first-child { border-top: 0; }
  .letter { grid-row: span 3; font-size: 6.5rem; margin: 0; }
  .cell.half { grid-column: 1 / -1; }
  .cell.half + .cell.half { margin-left: 0; }
  .tb-mode { padding-inline: 12px; }
}
@media (hover: none) { .xh, .coords { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .js .layer, .js .callout, .js .rv, .js .circled path, .js .hero-note { transition: none !important; animation: none !important; }
  .js .layer, .js .rv { transform: none; }
  .js .callout, .js .rv, .js .hero-note { opacity: 1; }
  .js .circled path { stroke-dashoffset: 0; }
}

/* =====================================================================
   Shop and inner pages (WooCommerce). The homepage does not use these.
   ===================================================================== */
.sd-page { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--ink); min-height: 60vh; }
#top .sd-page h1 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: .9; margin-bottom: clamp(24px, 4vw, 44px); }
#top .sd-page h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; margin: 1.4em 0 .6em; }
#top .sd-page h3 { font-size: 1.35rem; line-height: 1.05; }
#top .sd-page a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
#top .page-body { max-width: 1100px; }
#top .page-shop .woocommerce-breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 18px; }
#top .page-shop .woocommerce-breadcrumb a { color: inherit; }
#top .woocommerce-result-count, #top .woocommerce-ordering { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
#top .woocommerce-ordering select { font: inherit; padding: 8px 10px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }

/* product grid: bordered cells, like the parts list */
#top ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; margin: 0 0 40px; padding: 1px 0 0 1px; clear: both; }
#top ul.products::before, #top ul.products::after { display: none; }
#top ul.products li.product { float: none; width: auto; margin: -1px 0 0 -1px; padding: 22px 22px 24px; border: 1px solid var(--ink); display: flex; flex-direction: column; text-align: left; transition: background-color .2s, color .2s; }
#top ul.products li.product:hover { background: var(--ink); color: var(--paper); }
#top ul.products li.product a { text-decoration: none; color: inherit; }
#top ul.products li.product a.woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1; }
#top ul.products li.product .woocommerce-loop-product__title { font-size: 1.7rem; line-height: .98; margin: 0 0 14px; padding: 0; }
#top ul.products li.product .price { font-family: var(--mono); font-size: 1rem; font-weight: 500; color: inherit; margin: auto 0 16px; }
#top ul.products li.product .price del { opacity: .55; }
#top ul.products li.product .price ins { text-decoration: none; }
#top ul.products li.product .button { align-self: flex-start; margin-top: 0; color: var(--paper); }
#top ul.products li.product a.added_to_cart { color: inherit; }
#top ul.products li.product:hover .button { background: var(--accent); border-color: var(--accent); color: var(--paper); }
#top ul.products li.product .star-rating { margin: 0 0 10px; }
#top img.woocommerce-placeholder { display: none; }
#top span.onsale { background: var(--accent); color: var(--paper); border-radius: 0; font-family: var(--mono); font-weight: 500; text-transform: uppercase; min-height: 0; min-width: 0; line-height: 1; padding: 6px 8px; }

/* buttons */
#top a.button, #top button.button, #top input.button, #top #respond input#submit,
#top a.button.alt, #top button.button.alt, #top input.button.alt,
#top .sd-page .wp-element-button, #top .sd-page .wc-block-components-button:not(.is-link) {
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 18px; line-height: 1.2; transition: background-color .15s, border-color .15s;
}
#top a.button:hover, #top button.button:hover, #top input.button:hover, #top #respond input#submit:hover, #top a.button.alt:hover, #top button.button.alt:hover, #top input.button.alt:hover, #top .sd-page .wp-element-button:hover, #top .sd-page .wc-block-components-button:not(.is-link):hover {
  background: var(--accent); border-color: var(--accent); color: var(--paper);
}
#top a.added_to_cart { display: inline-block; margin: 10px 0 0; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: underline; }

/* single product */
#top div.product .woocommerce-product-gallery--without-images { display: none; }
#top div.product .woocommerce-product-gallery--without-images ~ .summary { float: none; width: 100%; max-width: 760px; }
#top div.product .product_title { margin-bottom: 18px; }
#top div.product p.price, #top div.product span.price { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
#top div.product .woocommerce-product-details__short-description { font-size: 1.15rem; max-width: 36em; }
#top div.product form.cart { margin: 26px 0; }
#top .quantity .qty { height: 46px; width: 4.2em; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 1rem var(--mono); border-radius: 0; }
#top div.product .product_meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); border-top: 1px dashed var(--soft); padding-top: 14px; }
#top div.product .product_meta > span { display: block; margin-bottom: 4px; }
#top div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 40px 0 0; }
#top div.product .woocommerce-tabs ul.tabs::before { border-color: var(--ink); }
#top div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 1px solid var(--ink); border-radius: 0; margin: 0 -1px 0 0; padding: 0 18px; }
#top div.product .woocommerce-tabs ul.tabs li::before, #top div.product .woocommerce-tabs ul.tabs li::after { display: none; }
#top div.product .woocommerce-tabs ul.tabs li a { color: var(--ink); font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
#top div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink); border-bottom-color: var(--ink); }
#top div.product .woocommerce-tabs ul.tabs li.active a { color: var(--paper); }
#top div.product .woocommerce-tabs .panel { max-width: 760px; padding-top: 10px; }

/* notices, forms, tables */
#top .woocommerce-message, #top .woocommerce-info, #top .woocommerce-error, #top .woocommerce-noreviews, #top p.no-comments {
  background: transparent; color: var(--ink); border: 1px solid var(--ink); border-top: 3px solid var(--accent); border-radius: 0;
}
#top .woocommerce-message::before, #top .woocommerce-info::before, #top .woocommerce-error::before { color: var(--accent); }
#top form .form-row input.input-text, #top form .form-row textarea, #top form .form-row select, #top .woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); padding: 11px 12px; font: 500 1rem var(--display);
}
#top table.shop_table { border: 1px solid var(--ink); border-radius: 0; }
#top table.shop_table th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
#top table.shop_table td, #top table.shop_table th { border-color: var(--line-2); }
#top nav.woocommerce-pagination ul, #top nav.woocommerce-pagination ul li { border-color: var(--ink); border-radius: 0; }
#top nav.woocommerce-pagination ul li a, #top nav.woocommerce-pagination ul li span { font-family: var(--mono); color: var(--ink); background: transparent; }
#top nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--paper); }

/* product images */
#top ul.products li.product a img { width: 100%; height: auto; margin: 0 0 18px; display: block; }
#top ul.products li.product .price .amount, #top div.product p.price .amount { color: inherit; }
#top .related.products, #top .upsells.products { clear: both; padding-top: 30px; }
#top .woocommerce-products-header__title { margin-top: 0; }
