@font-face {
    font-family: Montserrat;
    src: url("assets/Montserrat.ttf");
}
body {
    margin: 0;
    background: #eef3ff url("Фон.jpg");
    color: #1b2945;
    font: 12px/1.6 Montserrat, Arial, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #3564e4;
}
button, input, select {
    font: inherit;
}
button, summary {
    cursor: pointer;
}
p {
    margin: 0 0 16px;
}
h1, h2 {
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
}
h2 {
    font-size: 21px;
}

/* Таблица страницы: шапка, меню, содержимое, подвал. */
.site-layout {
    width: 960px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 14px;
    margin: 10px auto;
}
.left-col {
    width: 170px;
}
.main-col {
    width: 395px;
}
td {
    padding: 0;
    vertical-align: top;
}
header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 17px 28px;
    border-radius: 24px;
    background: #192c53;
    color: white;
}
.logo {
    display: block;
    width: 133px;
    height: 48px;
    object-fit: contain;
}
.brand-caption {
    font-size: 9px;
    letter-spacing: 1px;
    color: #c3d1f0;
}
.bag-link {
    margin-left: auto;
    padding: 9px 15px;
    border: 1px solid #607397;
    border-radius: 25px;
    font-size: 11px;
}
.bag-link:hover {
    color: white;
    background: #2f4770;
}
.bag-link span {
    margin-left: 10px;
}
nav {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 30px;
    background: white;
}
nav a {
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 11px;
}
nav a[aria-current], nav a:hover {
    color: white;
    background: #3967e7;
}
.sidebar {
    padding-right: 16px;
}
aside {
    background: white;
    padding: 22px 15px;
    border-radius: 22px;
}
.eyebrow {
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}
.sidebar .eyebrow {
    color: #8490a7;
}
.sidebar a {
    display: block;
    margin-bottom: 8px;
    padding: 11px 9px;
    border-radius: 12px;
    font-size: 10px;
}
.sidebar a span {
    float: right;
}
.sidebar a[aria-current], .sidebar a:hover {
    background: #e9efff;
    color: #3967e7;
}
.aside-note {
    color: #8494b2;
    border-top: 1px solid #e8edfa;
    padding-top: 20px;
    margin-top: 22px;
    font-size: 12px;
}
.aside-note p {
    margin: 0;
}
.content-cell {
    padding: 0;
}

/* Витрина */
.hero {
    position: relative;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: #d7e4ff;
}
.hero > img {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 46%;
    height: 328px;
    border-radius: 18px;
    object-fit: cover;
    object-position: 63% center;
}
.hero > div {
    position: relative;
    padding: 35px 28px;
    width: 50%;
}
.hero .eyebrow {
    margin-bottom: 30px;
}
.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1.6px;
}
.hero h1 em {
    font-style: normal;
    color: #3967e7;
}
.hero p:not(.eyebrow) {
    font-size: 10px;
    margin: 20px 0 23px;
}
.button {
    display: inline-block;
    border: none;
    border-radius: 25px;
    padding: 13px 22px;
    background: #3967e7;
    color: white;
    font-size: 10px;
    font-weight: 600;
}
.button:hover {
    background: #274db8;
    color: white;
}
.banner-link {
    display: block;
    margin: 14px 0 28px;
}
.banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
}
.section-title h2 {
    font-size: 21px;
}
.section-title > span {
    font-size: 8px;
    color: #8490ac;
    letter-spacing: 1px;
}
.products {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
}
.products td {
    width: 50%;
    padding: 0 8px 20px 0;
}
.products td + td {
    padding-left: 8px;
    padding-right: 0;
}
.product {
    border-radius: 22px;
    padding: 12px;
    background: white;
}
.photo {
    display: block;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background: #e8edf8;
}
.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 2px 9px;
}
.product-line small {
    font-size: 8px;
    color: #8791a8;
}
.product-line > span {
    font-size: 14px;
    font-weight: 600;
}
.product h2 {
    margin: 0 2px 14px;
    font-size: 14px;
    min-height: 33px;
}
.add {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border: none;
    border-radius: 24px;
    background: #eaf0ff;
    color: #335cc5;
    font-size: 10px;
}
.add:hover {
    background: #3967e7;
    color: white;
}
.add span {
    font-size: 15px;
    line-height: 1;
}
.editorial {
    padding: 30px;
    background: #192c53;
    border-radius: 24px;
    color: white;
    margin-top: 5px;
}
.editorial .eyebrow {
    color: #b9c9ed;
}
.editorial h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.editorial p:not(.eyebrow) {
    max-width: 480px;
    color: #c3d0eb;
    font-size: 11px;
}
.editorial a {
    display: inline-block;
    margin-top: 5px;
    padding: 9px 18px;
    border: 1px solid #6e84b0;
    border-radius: 25px;
    font-size: 10px;
}
.editorial a:hover {
    color: white;
    background: #314875;
}

/* Внутренние страницы */
.page-title {
    font-size: 35px;
    letter-spacing: -1.3px;
    margin-bottom: 13px;
}
.lead {
    font-size: 11px;
    color: #7986a0;
    margin-bottom: 26px;
}
main > .eyebrow {
    margin: 14px 0 18px;
    color: #7e8ca8;
}
details {
    border-top: 1px solid #e9edf6;
    margin: 10px 2px 15px;
    font-size: 9px;
}
summary {
    padding: 10px 0;
    color: #6b7e9e;
}
dl {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 7px;
    margin-bottom: 15px;
    font-size: 9px;
}
dt {
    color: #8895af;
}
dd {
    margin: 0;
}
.size {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 14px;
    color: #7d8da9;
    font-size: 10px;
}
.size select {
    width: 110px;
    padding: 7px;
    border: 1px solid #dce4f5;
    border-radius: 10px;
    background: white;
}
.price {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    background: white;
    font-size: 11px;
}
.price caption {
    text-align: left;
    font-size: 10px;
    color: #7f8ca7;
    padding: 0 0 18px;
}
.price th {
    text-align: left;
    color: #7f8da9;
    font-size: 9px;
    font-weight: 500;
    padding: 16px;
}
.price td {
    padding: 12px 16px;
    border-top: 1px solid #edf1f9;
    vertical-align: middle;
}
.price td:first-child {
    width: 60%;
}
.price td:last-child {
    white-space: nowrap;
    font-weight: 600;
}
.price td a {
    display: flex;
    align-items: center;
    gap: 15px;
}
.price img {
    width: 46px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}
.selection {
    border-radius: 20px;
    padding: 24px;
    background: #dae5ff;
    margin-bottom: 22px;
}
.selection h2 {
    font-size: 18px;
}
.selection p {
    font-size: 10px;
    margin: 0;
}
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #bfcff0;
    font-size: 10px;
}
.remove {
    border: 0;
    background: none;
    font-size: 16px;
    color: #6d7fa5;
}
p.cart-total {
    padding-top: 13px;
    font-weight: 600;
    font-size: 13px;
}
.plain {
    border: 0;
    background: none;
    text-decoration: underline;
    color: #697fa9;
    font-size: 9px;
    padding: 4px;
}
form {
    background: white;
    border-radius: 24px;
    padding: 26px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
form label {
    display: block;
    font-size: 10px;
}
input:not([type=checkbox]), .payment select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    border: 1px solid #dee6f5;
    border-radius: 12px;
    background: #f7f9fe;
    font-size: 10px;
}
fieldset {
    border: 0;
    margin: 27px 0;
    padding: 0;
}
legend {
    font-size: 11px;
    margin-bottom: 15px;
    padding: 0;
}
.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.checks label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.checks input {
    accent-color: #3967e7;
}
.payment {
    max-width: 320px;
}
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.result {
    border-radius: 24px;
    padding: 25px;
    margin-top: 20px;
    background: #dce7ff;
    overflow-wrap: anywhere;
}
.result h2 {
    font-size: 22px;
    margin-bottom: 15px;
}
.result p {
    font-size: 11px;
}
.result dl {
    font-size: 11px;
    grid-template-columns: 95px 1fr;
}
.contact-info {
    display: flex;
    gap: 75px;
    padding: 25px;
    border-radius: 22px;
    background: white;
    margin: 25px 0 18px;
}
.contact-info h2 {
    font-size: 14px;
    margin-bottom: 13px;
}
.contact-info p {
    font-size: 16px;
}
.contact-info a {
    font-size: 10px;
    color: #3967e7;
}
.map {
    margin: 0 0 20px;
}
.map img {
    display: block;
    width: 100%;
    border-radius: 22px;
}
.size-guide {
    background: white;
    padding: 26px;
    border-radius: 22px;
}
.size-guide h2 {
    margin-bottom: 14px;
}
.size-guide p {
    font-size: 10px;
    color: #7d8ba7;
}
.size-guide table {
    border-collapse: collapse;
    width: 100%;
    font-size: 10px;
}
.size-guide caption {
    text-align: left;
    padding-bottom: 13px;
}
.size-guide th, .size-guide td {
    text-align: left;
    border-bottom: 1px solid #e7ecf8;
    padding: 8px;
}
footer {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 22px 27px;
    border-radius: 24px;
    background: #dfe8fb;
    color: #697d9e;
    font-size: 9px;
}
footer a {
    margin-left: auto;
}
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 25px;
    background: #192c53;
    color: white;
    padding: 15px 25px;
    opacity: 0;
    pointer-events: none;
}
.toast.visible {
    opacity: 1;
}
.skip {
    position: absolute;
    top: -100px;
}
.skip:focus {
    top: 0;
    background: white;
    padding: 10px;
}

.result { white-space: pre-line; }
