[x-cloak] {
    display: none !important;
}

html {
    font-size: 130%;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--surface);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.site-main {
    margin-top: 4rem;
    padding: 1.5rem;
    flex: 1;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    align-items: center;
    background: var(--surface);
    height: 4rem;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    box-sizing: border-box;
    padding: 0 1.5rem;
}

.brand {
    margin-right: auto;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 1.75rem;
    color: var(--brand-500);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font: inherit;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;

    color: var(--brand-500);
    font-weight: bold;

}

.nav-link:hover {
    color: var(--brand-800);
}

.dest-btn {
    color: #B42318 !important;
}

.dest-btn:hover {
    background: #B42318 !important;
    color: var(--surface) !important;
}

.dest-btn-primary {
    background: #B42318 !important;
    color: var(--surface) !important;
}

.dest-btn-primary:hover {
    background: #801911 !important;
}


.nav-item-has-menu {
    position: relative;
}

.nav-menu {
    position: absolute;
    top: 100%;
    z-index: 10;
    min-width: 10rem;
    list-style: none;
    margin: 0;
    margin-top: 1.75rem;
    padding: 10px;
    border-radius: var(--br);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.nav-menu-link {
    transition: all 0.1s;
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--brand-500);
    border-radius: var(--br);
}

.nav-menu-link:hover {
    background: var(--brand-500);
    color: var(--surface);
}

span.nav-caret:nth-child(3) {
    margin-left: 5px;
}

.button {
    display: inline-block;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    background: none;
}

.button-outline {
    transition: all 0.2s ease-in-out;
    background: none;
    border: 2px solid var(--brand-500);
    color: var(--brand-500);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: var(--br);
}

.button-outline:hover {
    background: var(--brand-500);
    color: var(--surface);
}

.button-primary {
    transition: all 0.2s ease-in-out;
    background: var(--brand-500);
    color: var(--surface);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: var(--br);
}

.button-primary:hover {
    background: var(--brand-800);
}

.large-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
}

.large-btn:hover {
    scale: 1.1;
    box-shadow: 0 0 100px var(--brand-300);
}

.hero,
.products,
.faq {
    max-width: 72rem;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-title {
    margin: 0 0 1.5rem;
    font-size: 2.5rem;
    line-height: 1.15;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--brand-500);
}

.hero-lead {
    margin: 0 0 2rem;
    max-width: 34rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.hero-media {
    position: relative;
    min-height: 24rem;
}

.hero-image {
    position: absolute;
    border-radius: var(--br);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-image-back {
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    box-shadow: 0 0 1000px var(--brand-300);
}

.hero-image-front {
    bottom: 0;
    left: 0;
    width: 62%;
    height: 60%;
    box-sizing: border-box;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
}

.section-title {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    color: var(--brand-500);
}

.section-lead {
    margin: 0 0 2.5rem;
    max-width: 34rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.product-card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: var(--br);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
}

.product-card-title {
    margin: 0;
    font-size: 1.5rem;
}

.product-card-description {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.6;
}

.product-card-price {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--brand-500);
    color: var(--surface);
    line-height: 1;
}

.faq-toggle::before {
    content: "+";
}

.faq-item[open] .faq-toggle::before {
    content: "\2212";
}

.faq-answer {
    padding: 0 0 1.5rem 2rem;
}

.faq-answer-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.faq-answer-text {
    margin: 0 0 0.75rem;
    max-width: 44rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem 1.5rem;
    background: var(--surface-alt);
}

.footer-brand {
    flex: 1 1 18rem;
    max-width: 22rem;
}

.footer-brand-name {
    margin: 0 0 0.75rem;
    font-weight: bold;
}

.footer-brand-blurb {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column-title {
    margin: 0 0 1rem;
    font-weight: bold;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: var(--ink-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--brand-600);
}

@media (max-width: 60rem) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 20rem;
    }
}

.site-main {
    position: relative;
}

.site-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32rem;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--line) 3px, transparent 1.5px);
    background-size: 1.5rem 1.5rem;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.burger-bar {
    display: block;
    width: 1.5rem;
    height: 2px;
    border-radius: 1px;
    background: var(--brand-500);
}

.sign-in {
    display: inline-flex;
    align-items: center;
}

.sign-in-icon {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

@media (max-width: 48rem) {
    .burger {
        display: flex;
    }

    .sign-in-label {
        display: none;
    }

    .sign-in-icon {
        display: block;
    }

    .sign-in {
        padding: 0.4rem;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .nav-open .site-nav {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-link {
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0;
    }

    .nav-menu {
        position: static;
        min-width: 0;
        margin-top: 0;
        padding: 0 0 0.5rem 1rem;
        background: none;
        box-shadow: none;
    }

    .nav-menu-link {
        text-align: left;
    }
}

.docs {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 4rem 0;
}

.docs-nav {
    align-self: start;
    position: sticky;
    top: 5.5rem;
}

.docs-nav-section {
    margin-bottom: 1.5rem;
}

.docs-nav-title {
    margin: 0 0 0.5rem;
    font-weight: bold;
}

.docs-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav-link {
    display: block;
    padding: 0.25rem 0;
    color: var(--ink-muted);
    text-decoration: none;
}

.docs-nav-link.is-current {
    color: var(--brand-600);
    font-weight: bold;
}

.docs-title {
    margin: 0 0 1.5rem;
}

.prose {
    line-height: 1.7;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
}

.prose h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.35rem;
}

.prose h4 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.prose p {
    margin: 0 0 1.25rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose a {
    color: var(--brand-600);
    text-decoration: underline;
}

.prose code {
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    background: var(--surface-alt);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.prose pre {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--br);
    background: var(--surface-alt);
    overflow-x: auto;
}

.prose pre code {
    padding: 0;
    border-radius: 0;
    background: none;
    font-size: 0.875rem;
}

.prose blockquote {
    margin: 0 0 1.25rem;
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 4px solid var(--line);
    color: var(--ink-muted);
}

.prose hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.prose img {
    max-width: 100%;
}

.prose table {
    display: block;
    max-width: 100%;
    margin: 0 0 1.25rem;
    border-collapse: collapse;
    overflow-x: auto;
}

.prose th,
.prose td {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    border-bottom-width: 2px;
    font-weight: bold;
    white-space: nowrap;
}

.prose .admonition {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--brand-500);
    border-radius: 0 var(--br) var(--br) 0;
    background: var(--brand-50);
}

.prose .admonition-title {
    margin: 0 0 0.5rem;
    color: var(--brand-800);
    font-weight: bold;
}

.prose .admonition > :last-child {
    margin-bottom: 0;
}

@media (max-width: 60rem) {
    .docs {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .docs-nav {
        position: static;
    }
}





.sign-in-wrap {
    position: relative;
}


.account-menu {
    left: auto;
    right: 0;
    margin-top: 1.2rem;
}

.nav-menu-button {
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

.sign-in-account .sign-in-label {
    display: block;
    max-width: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Auth Pages*/

.auth {
    display: flex;
    justify-content: center;
    padding: 4rem 1.5rem 6rem;
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-card h1 {
    font-size: 1.75rem;
    margin: 0;
}

.auth-card p {
    margin: 0;
    color: var(--ink-muted);
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-card form p {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--ink);
}

.auth-card label {
    font-weight: 600;
    font-size: 0.875rem;
}

.auth-card input {
    font: inherit;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--surface);
    color: var(--ink);
}

/* Remember me check box */
.auth-card form p:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}


.auth-card form p:has(input[type="checkbox"]) label {
    font-weight: 400;
}

.auth-card input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
    accent-color: var(--brand-500);
}

.auth-card a {
    text-decoration: none;
    color: var(--brand-500);
}

.auth-card a:hover {
    color: var(--brand-800);
}

.auth-card input:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 1px;
    border-color: var(--brand-500);
}

.auth-card button,
.auth-card a.button {
    font: inherit;
    font-weight: bold;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border: 0;
    border-radius: var(--br);
    background: var(--brand-500);
    color: var(--surface);
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.auth-card button:hover,
.auth-card a.button:hover {
    background: var(--brand-800);
}

.auth-card .errorlist {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #B42318;
    font-size: 0.875rem;
}

.auth-messages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-message {
    padding: 0.6rem 0.85rem;
    border-radius: var(--br);
    background: var(--brand-100);
    color: var(--brand-900);
    font-size: 0.9rem;
}

/* Two factor pages */

.auth-card-wide {
    max-width: 34rem;
}

.auth-panel {
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--surface);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-panel-title {
    font-size: 1.05rem;
    margin: 0;
}

.auth-panel-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-panel-actions,
.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-panel-actions a,
.auth-panel-actions button {
    font: inherit;
    font-weight: bold;
    cursor: pointer;
    padding: 0.45rem 0.9rem;
    border: 0;
    border-radius: var(--br);
    background: var(--brand-500);
    color: var(--surface);
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.auth-panel-actions a:hover,
.auth-panel-actions button:hover {
    background: var(--brand-800);
    color: var(--surface);
}

/* Secondary and destructive actions read as links beside the primary one. */
.auth-panel-actions a:not(:first-child) {
    background: transparent;
    color: var(--brand-500);
    border: 1px solid var(--line);
}

.auth-panel-actions a:not(:first-child):hover {
    background: var(--brand-100);
    color: var(--brand-900);
}

.auth-qr {
    display: block;
    width: 12rem;
    height: 12rem;
    align-self: center;
    padding: 0.75rem;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--br);
}

/* The secret is read by eye and retyped, so it has to be unambiguous. */
.auth-card input[disabled] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    letter-spacing: 0.05em;
    background: var(--brand-100);
    color: var(--ink);
}

.auth-card .helptext {
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

.auth-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.auth-card th,
.auth-card td {
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid var(--line);
}

.auth-card th {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    font-weight: 600;
}

/* Recovery codes are transcribed, so they are monospaced and roomy. */
.auth-card pre {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--brand-100);
    color: var(--ink);
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    white-space: pre-wrap;
    word-break: break-all;
}

/* dev index */

.dev-index {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.dev-group {
    margin-top: 2rem;
}

.dev-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dev-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}

.dev-row code,
.dev-note,
.dev-off {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.error-page {
    max-width: 34rem;
    margin: 0 auto;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.error-code {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: var(--brand-500);
    margin: 0;
}

.error-page h1 {
    font-size: 2rem;
    margin: 0;
    text-wrap: balance;
}

.error-lead {
    margin: 0;
    color: var(--ink-muted);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* cart */

.cart-dot {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #B42318;
    border: 2px solid var(--surface);
    pointer-events: none;
}

body.cart-is-open {
    overflow: hidden;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
}

.cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-in-out;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 31;
    width: min(26rem, 100%);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease-in-out, visibility 0s linear 0.25s;
}

.cart-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.25s ease-in-out;
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.cart-title {
    margin: 0;
    font-size: 1.25rem;
}

.cart-close {
    font: inherit;
    font-size: 1.75rem;
    line-height: 1;
    padding: 0 0.25rem;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--ink-muted);
}

.cart-close:hover {
    color: var(--ink);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-note {
    margin: 0;
    color: var(--ink-muted);
}

.cart-error {
    margin: 0 0 1rem;
    color: #B42318;
}

.cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-line {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-line-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.cart-line-name {
    margin: 0;
    font-weight: bold;
}

.cart-line-price {
    margin: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.cart-qty input {
    font: inherit;
    width: 4rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--surface);
    color: var(--ink);
}

.cart-remove {
    font: inherit;
    font-size: 0.875rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: #B42318;
}

.cart-remove:hover {
    text-decoration: underline;
}

.cart-foot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.cart-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-checkout:disabled:hover {
    background: var(--brand-500);
}

.cart-soon {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ink-muted);
    text-align: center;
}

.account-email {
    display: none;
}

/* product page */

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 0;
}

.product-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-image {
    width: 100%;
    border-radius: var(--br);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.product-image-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--br);
    background: var(--surface-alt);
}

.product-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.product-name {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.15;
    text-wrap: balance;
}

.product-lead {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.6;
}

.product-price {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.product-buy {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.product-qty {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.product-qty input {
    font: inherit;
    width: 5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--br);
    background: var(--surface);
    color: var(--ink);
}

.product-description {
    color: var(--ink-muted);
    line-height: 1.6;
}

.product-description p {
    margin: 0;
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.product-specs-caption {
    text-align: left;
    font-weight: bold;
    padding-bottom: 0.5rem;
}

.product-specs th,
.product-specs td {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.product-specs th {
    font-weight: normal;
    color: var(--ink-muted);
    padding-right: 1.5rem;
}

@media (max-width: 48rem) {
    .sign-in-account .sign-in-label,
    .sign-in-account .nav-caret {
        display: none;
    }

    .account-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        margin-top: 0;
        padding: 1rem 1.5rem;
        border-radius: 0;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .account-email {
        display: block;
        padding: 0 0 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--line);
        color: var(--ink-muted);
        font-size: 0.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cart-drawer {
        width: 100%;
    }

    .product {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 0;
    }
}
