.topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px clamp(16px, 3vw, 34px);
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #ffffff;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.topnav a,
.ghost,
.secondary,
.primary {
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 8px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #ffffff;
    color: var(--text);
}

.primary {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

.primary:hover {
    background: var(--green-strong);
}

.secondary:hover,
.topnav a:hover,
.ghost:hover {
    border-color: #9aa4b2;
}

.wide {
    width: 100%;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(14px, 2vw, 28px);
}

.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 18px;
    align-items: start;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
    align-items: start;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: start;
}

.section-gap {
    margin-top: 18px;
}

.section-gap-none {
    margin-bottom: 18px;
}

.panel,
.center-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel {
    padding: clamp(14px, 2vw, 22px);
}

.center-panel {
    width: min(560px, 100%);
    margin: 8vh auto;
    padding: 34px;
    text-align: center;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    font-size: 1.35rem;
    margin-bottom: 0;
}

h2 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.pill,
.tag,
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.pill,
.tag {
    background: #eef2f6;
    color: #344054;
}
