@font-face {
    font-family: Gilroy;
    src: local("Gilroy"), local("Gilroy-Regular");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Gilroy;
    src: local("Gilroy Semibold"), local("Gilroy-Semibold");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Gilroy;
    src: local("Gilroy ExtraBold"), local("Gilroy-ExtraBold");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

:root {
    --ink: #2b1a12;
    --muted: #7c6e62;
    --deep: #29170f;
    --brown: #503221;
    --cocoa: #6b4a34;
    --cream: #f8f0e5;
    --paper: #fffaf2;
    --sand: #e6d8c7;
    --gold: #b48145;
    --rose: #c55b57;
    --sage: #8aa078;
    --line: rgba(43, 26, 18, .14);
    --shadow: 0 28px 70px rgba(43, 26, 18, .14)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: #21130d;
    font: 15px/1.55 Gilroy, Arial, sans-serif;
    overflow-x: hidden
}

body:before {
    display: none
}

body:after {
    display: none
}

a {
    color: inherit
}

img {
    max-width: 100%
}

.site-bg-video {
    position: fixed;
    inset: -18px;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
    object-fit: cover;
    filter: blur(0px);
    transform: scale(1.035);
    pointer-events: none;
    z-index: -5
}

.site-bg-tint {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(249, 242, 232, 0.336) 0%, rgba(241, 228, 212, 0.245) 50%, rgba(228, 210, 189, .78) 100%);
    z-index: -4
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .08;
    background-image: radial-gradient(rgba(43, 26, 18, .22) .7px, transparent .7px);
    background-size: 8px 8px;
    mix-blend-mode: multiply
}

.liquid-bg i {
    display: none
}

.liquid-bg i:nth-child(1) {
    width: 220px;
    height: 220px;
    background: #c55b57;
    left: 42%;
    top: 18%
}

.liquid-bg i:nth-child(2) {
    width: 260px;
    height: 260px;
    background: #b48145;
    right: 8%;
    top: 36%
}

.liquid-bg i:nth-child(3) {
    width: 210px;
    height: 210px;
    background: #8aa078;
    left: 10%;
    bottom: 8%
}

.topbar {
    position: sticky;
    top: 14px;
    z-index: 20;
    width: min(1300px, calc(100vw - 28px));
    margin: 14px auto 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 250, 242, .42);
    border-radius: 26px;
    background: #fdf3e5;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(43, 26, 18, .16)
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 70px
}

.brand-logo {
    display: block;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    background: #fffaf2;
    box-shadow: 0 8px 22px rgba(43, 26, 18, .14)
}

.mark {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--deep);
    color: var(--paper);
    box-shadow: inset 0 -9px 0 rgba(180, 129, 69, .35)
}

.mark:before,
.mark:after {
    content: "";
    position: absolute;
    border: 2px solid var(--paper);
    border-left: 0;
    border-bottom: 0;
    border-radius: 60% 0 60% 0;
    transform: rotate(-38deg)
}

.mark:before {
    width: 22px;
    height: 14px;
    top: 13px;
    left: 13px
}

.mark:after {
    width: 18px;
    height: 12px;
    right: 9px;
    bottom: 13px;
    opacity: .82
}

.brand-text {
    display: grid;
    line-height: 1.05;
    font-weight: 900;
    font-size: 18px
}

.brand-text small {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 900
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0
}

.nav a,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    font: inherit;
    font-weight: 900;
    font-size: 16px;
    white-space: nowrap;
    cursor: pointer;
    transition: .18s;
    flex-shrink: 0
}

.nav a:hover,
.link-button:hover {
    background: #fff
}

.auth-main {
    background: #fff !important;
    border: 1px solid var(--line) !important
}

.auth-main.register {
    background: var(--deep) !important;
    color: var(--paper) !important
}

.cart-link {
    background: var(--brown) !important;
    color: var(--paper)
}

.cart-link b {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--brown)
}

.admin-dot {
    background: var(--rose) !important;
    color: #fff
}

.user-pill {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    font-weight: 900;
    font-size: 12px
}

.logout-form {
    display: inline
}

.page {
    width: min(1200px, calc(100vw - 28px));
    margin: 24px auto 56px
}

.footer {
    width: min(1200px, calc(100vw - 28px));
    margin: 0 auto 34px;
    padding: 18px 4px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: none
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 110, 98, .34)
}

.footer-links a:hover {
    color: var(--ink);
    border-color: var(--ink)
}

.flash {
    margin-bottom: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(138, 160, 120, .45);
    border-radius: 18px;
    background: #edf5e7;
    color: #33462c;
    font-weight: 800
}

.hero,
.catalog-hero,
.page-head,
.box-hero,
.admin-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 242, .62);
    border-radius: 42px;
    background: rgba(255, 250, 242, .8);
    box-shadow: var(--shadow)
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 22px;
    align-items: center;
    padding: 54px
}

.hero:before,
.auth-art:before,
.catalog-hero:before,
.box-hero:before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(43, 26, 18, .13);
    border-radius: 30px;
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 2
}

.hero-copy,
.showcase,
.photo-ribbon,
.price-bubbles {
    min-width: 0;
    max-width: 100%
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero h1,
.catalog-hero h1,
.page-head h1,
.section h2,
.auth-card h1,
.box-hero h1,
.admin-hero h1,
.product-show h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
    line-height: .96;
    letter-spacing: 0;
    margin: .05em 0 .18em
}

.hero h1 {
    font-size: clamp(42px, 4.4vw, 66px);
    max-width: 470px
}

.catalog-hero h1,
.page-head h1,
.box-hero h1,
.admin-hero h1,
.product-show h1 {
    font-size: clamp(38px, 5.2vw, 72px)
}

.section h2 {
    font-size: clamp(32px, 4.6vw, 60px);
    color: #fff;
}

section.section.split.editorial p {
    color: #fff;
}

.lead,
.hero p,
.catalog-hero p,
.page-head p {
    max-width: 700px;
    color: #5f5148;
    font-size: 17px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: .18s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn.primary {
    background: var(--deep);
    color: var(--paper);
    box-shadow: 0 9px 0 rgba(43, 26, 18, .16)
}

.btn.ghost {
    background: rgba(255, 255, 255, .64)
}

.btn.small {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 12px
}

.btn.is-added {
    background: var(--sage) !important;
    color: #fff !important
}

.showcase {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    z-index: 1
}

.photo-ribbon {
    position: absolute;
    top: 22px;
    left: 50%;
    width: min(560px, 100%);
    height: 220px;
    transform: translateX(-50%)
}

.hero-photo {
    position: absolute;
    width: 160px;
    height: 190px;
    border: 8px solid rgba(255, 250, 242, .9);
    border-radius: 86px;
    background: #eadccd;
    overflow: hidden;
    box-shadow: 0 22px 46px rgba(43, 26, 18, .22)
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.hero-photo:nth-child(1) {
    left: 0;
    top: 24px;
    transform: rotate(-12deg)
}

.hero-photo:nth-child(2) {
    left: 92px;
    top: 0;
    z-index: 2;
    transform: rotate(5deg)
}

.hero-photo:nth-child(3) {
    left: 205px;
    top: 26px;
    z-index: 3;
    transform: rotate(-4deg)
}

.hero-photo:nth-child(4) {
    right: 92px;
    top: 4px;
    z-index: 2;
    transform: rotate(8deg)
}

.hero-photo:nth-child(5) {
    right: 0;
    top: 30px;
    transform: rotate(14deg)
}

.hero-photo:nth-child(n+6) {
    display: none
}

.price-bubbles {
    position: relative;
    width: min(650px, 100%);
    height: 260px;
    margin-top: 180px
}

.price-bubble {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 58px;
    padding: 24px;
    border: 1px solid rgba(43, 26, 18, .08);
    box-shadow: 0 18px 40px rgba(43, 26, 18, .12)
}

.price-bubble b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1
}

.price-bubble span {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-weight: 900;
    font-size: 12px
}

.price-bubble small {
    font-weight: 900;
    color: inherit
}

.price-bubble.main {
    left: 50%;
    top: 16px;
    width: 230px;
    height: 150px;
    transform: translateX(-50%);
    background: var(--deep);
    color: var(--paper);
    z-index: 2
}

.price-bubble.muted {
    top: 42px;
    width: 190px;
    height: 132px;
    background: #b9b2aa;
    color: #fff
}

.price-bubble.muted:first-child {
    left: 0
}

.price-bubble.muted:last-child {
    right: 0
}

.taste-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 18px 0 28px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(226, 216, 203, .72);
    border: 1px solid rgba(255, 250, 242, .54)
}

.taste-icons a,
.taste-icons span {
    width: 100%;
    padding: 14px 10px;
    border-radius: 18px;
    background: rgba(255, 250, 242, .82);
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    color: var(--muted);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px
}

.taste-icons b {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #eadccd);
    box-shadow: inset 0 -6px 0 rgba(43, 26, 18, .08)
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0 34px
}

.stats-row div,
.card,
.review,
.passport-card,
.filter-panel,
.batch-row,
.offer-grid div,
.timeline div,
.metric {
    border: 1px solid rgba(255, 250, 242, .66);
    border-radius: 28px;
    background: rgba(255, 250, 242, .82);
    padding: 22px;
    box-shadow: 0 18px 46px rgba(43, 26, 18, .1)
}

.stats-row b,
.offer-grid b,
.history b,
.metric b {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: .95
}

.stats-row span,
.metric span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase
}

.section {
    margin-top: 38px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
    color: #fff;
}

.section-head h1,
.section-head h2 {
    margin: 0
}

.section-head a {
    font-weight: 900;
    text-decoration: none
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.product-card {
    position: relative;
    min-height: 100%;
    border-radius: 28px;
    background: rgba(255, 250, 242, .86);
    box-shadow: 0 18px 44px rgba(43, 26, 18, .12);
    border: 1px solid rgba(255, 250, 242, .68);
    padding: 14px;
    transition: .2s
}

.product-card:hover {
    transform: translateY(-6px)
}

.product-card h3 {
    margin: 10px 0 8px;
    min-height: 58px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.05
}

.product-card h3 a {
    text-decoration: none
}

.product-card p {
    min-height: 76px;
    margin: 0 0 12px;
    color: #6a5b50
}

.badge {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 250, 242, .9);
    border: 1px solid var(--line);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.product-photo {
    display: block;
    height: 172px;
    margin: 0 0 14px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed, #e7d6c2);
    border: 1px solid var(--line)
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .22s
}

.product-card:hover .product-photo img {
    transform: scale(1.04)
}

.meta,
.buy-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.meta {
    margin: 10px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.shelf {
    margin: 12px 0;
    padding: 10px 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800
}

.shelf span {
    display: block;
    margin: 3px 0
}

.buy-line b {
    font-size: 21px
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px
}

.feature-strip a {
    min-height: 150px;
    padding: 22px;
    border-radius: 28px;
    text-decoration: none;
    color: #fff;
    background: var(--deep);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 44px rgba(43, 26, 18, .16)
}

.feature-strip a:nth-child(2) {
    background: #7b4630
}

.feature-strip a:nth-child(3) {
    background: #8aa078;
    color: #1d2a18
}

.feature-strip a:nth-child(4) {
    background: #c55b57
}

.feature-strip b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start
}

.editorial {
    align-items: center
}

.form-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    margin: 0 0 14px
}

.form-card .form-group {
    margin-bottom: 12px
}

.form-card label,
.auth-card label {
    display: block;
    margin: 0 0 6px;
    color: #4a3327;
    font-weight: 900
}

.form-card input,
.form-card textarea,
.form-card select,
.auth-card input,
.auth-card textarea,
.auth-card select,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit
}

.form-card input[type=checkbox],
.auth-card input[type=checkbox] {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--deep)
}

.form-card label input[type=checkbox],
.auth-card label input[type=checkbox] {
    vertical-align: middle
}

.form-card textarea,
.auth-card textarea {
    min-height: 110px;
    resize: vertical
}

.form-card .help-block,
.auth-card .help-block {
    margin: 5px 0 0;
    color: #b84e4a;
    font-size: 12px;
    font-weight: 800
}

.filter-panel {
    margin: 0 0 18px
}

.filter-panel form {
    display: grid;
    grid-template-columns: 1fr 230px auto auto;
    gap: 10px;
    align-items: center
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.review b {
    color: #c55b57;
    letter-spacing: .08em
}

.review p {
    margin: 10px 0;
    color: #5f5148
}

.review span {
    color: var(--muted);
    font-weight: 900
}

.stacked {
    grid-template-columns: 1fr
}

.catalog-hero,
.page-head {
    display: block;
    margin-bottom: 20px;
    padding: 44px
}

.catalog-hero p,
.page-head p {
    margin-bottom: 0
}

.product-show {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 30px;
    align-items: center
}

.product-large {
    border-radius: 36px;
    overflow: hidden;
    background: #fff7ed;
    border: 1px solid rgba(255, 250, 242, .72);
    box-shadow: var(--shadow)
}

.product-large img {
    width: 100%;
    height: min(560px, 58vw);
    object-fit: cover;
    display: block
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0
}

.detail-grid div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 250, 242, .82);
    border: 1px solid rgba(255, 250, 242, .66)
}

.detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase
}

.ingredients {
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: rgba(255, 250, 242, .78)
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
    align-items: start
}

.cart-list.card {
    padding: 12px
}

.cart-row {
    display: grid;
    grid-template-columns: 112px 1fr 152px 134px 38px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px dashed var(--line)
}

.cart-row:last-child {
    border-bottom: 0
}

.cart-thumb {
    display: block;
    height: 92px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line)
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cart-info h3 {
    margin: 0 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px
}

.cart-info p {
    margin: 0 0 4px;
    color: var(--muted)
}

.cart-info span {
    font-weight: 900;
    color: #7f5137
}

.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.qty-control a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--deep);
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900
}

.qty-control input {
    width: 58px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    font: inherit;
    font-weight: 900;
    background: #fff
}

.row-sum {
    text-align: right;
    font-size: 17px
}

.remove {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #c55b57;
    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
    border: 1px solid var(--line)
}

.cart-tools {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 4px 2px
}

.summary.card {
    position: sticky;
    top: 104px
}

.summary h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px
}

.summary-note {
    margin: 12px 0 16px;
    padding: 12px 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    color: var(--muted)
}

.summary .btn {
    width: 100%;
    margin-top: 8px
}

.empty.card {
    text-align: center;
    padding: 44px
}

.empty h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px
}

.auth-screen {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: stretch
}

.auth-card {
    position: relative;
    z-index: 2;
    padding: 44px;
    border-radius: 36px;
    background: rgba(255, 250, 242, .9);
    border: 1px solid rgba(255, 250, 242, .7);
    box-shadow: var(--shadow)
}

.auth-card h1 {
    font-size: clamp(38px, 5vw, 70px)
}

.auth-card .btn {
    width: 100%;
    margin-top: 8px
}

.auth-help {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px dashed var(--line)
}

.auth-help a {
    font-weight: 900;
    color: #7f5137
}

.auth-art {
    position: relative;
    min-height: 560px;
    border-radius: 40px;
    background: linear-gradient(145deg, #4b2b1c, #20110b);
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow)
}

.auth-art .art-title {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: .95;
    font-weight: 900;
    max-width: 280px
}

.auth-art .art-note {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
    max-width: 320px;
    color: rgba(255, 255, 255, .78);
    font-weight: 800
}

.auth-stack {
    position: absolute;
    inset: 190px 28px 80px;
    z-index: 2
}

.auth-chip {
    position: absolute;
    border: 8px solid rgba(255, 250, 242, .95);
    background: #e8d8c7;
    box-shadow: 0 24px 44px rgba(0, 0, 0, .24);
    overflow: hidden
}

.auth-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.auth-chip:nth-child(1) {
    width: 210px;
    height: 270px;
    border-radius: 110px;
    left: 18px;
    top: 0;
    transform: rotate(-10deg)
}

.auth-chip:nth-child(2) {
    width: 230px;
    height: 190px;
    border-radius: 34px;
    right: 10px;
    top: 54px;
    transform: rotate(7deg)
}

.auth-chip:nth-child(3) {
    width: 190px;
    height: 150px;
    border-radius: 28px;
    left: 145px;
    bottom: 10px;
    transform: rotate(-4deg)
}

.page-head.dark,
.dark-card,
.builder-panel {
    background: var(--deep);
    color: #fff
}

.dark-card h2,
.builder-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    margin: 0 0 14px
}

.dark-card p,
.dark-card li,
.builder-panel span {
    color: rgba(255, 255, 255, .76)
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 22px
}

.timeline b {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1
}

.timeline span {
    font-weight: 900;
    color: var(--muted)
}

.batch-row {
    display: grid;
    grid-template-columns: 150px 1fr 180px 130px;
    gap: 18px;
    align-items: center;
    margin-bottom: 12px
}

.batch-code {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 900
}

.meter {
    height: 14px;
    border-radius: 999px;
    background: #e5d7c5;
    overflow: hidden
}

.meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8aa078, #b48145)
}

.qc {
    color: #496a39;
    font-weight: 900
}

.passport-card {
    display: grid;
    gap: 8px
}

.b2b-stack,
.offer-grid {
    display: grid;
    gap: 12px
}

.b2b-stack span {
    padding: 22px;
    border-radius: 999px;
    background: var(--deep);
    color: #fff;
    text-align: center;
    font-weight: 900;
    transform: rotate(2deg)
}

.b2b-stack span:nth-child(even) {
    background: #c55b57;
    transform: rotate(-2deg)
}

.offer-grid {
    grid-template-columns: repeat(2, 1fr)
}

.history {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.history div,
.loyal-card {
    padding: 30px;
    border-radius: 28px;
    background: var(--deep);
    color: #fff;
    box-shadow: var(--shadow)
}

.history span {
    color: rgba(255, 255, 255, .76);
    font-weight: 800
}

.loyal-card {
    width: min(390px, 100%);
    aspect-ratio: 1.62/.96;
    display: grid;
    align-content: space-between;
    transform: rotate(-5deg);
    box-shadow: 18px 18px 0 var(--gold), var(--shadow)
}

.loyal-card b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px
}

.box-hero {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 24px;
    align-items: center;
    padding: 44px
}

.box-steps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.box-steps span {
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--deep);
    color: #fff;
    font-size: 12px;
    font-weight: 900
}

.box-art {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center
}

.box-photo-art {
    overflow: hidden;
    border-radius: 34px;
    background: #fffaf2;
    box-shadow: 0 24px 60px rgba(43, 26, 18, .18)
}

.box-photo-art img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block
}

.tray {
    width: 380px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 28px;
    border-radius: 36px;
    background: #4d2c1d;
    box-shadow: 24px 24px 0 var(--gold), 0 38px 76px rgba(43, 26, 18, .22);
    transform: rotate(-4deg)
}

.tray i {
    aspect-ratio: 1;
    border-radius: 20px;
    background: radial-gradient(circle at 36% 28%, #fff2cf 0 9%, transparent 10%), linear-gradient(145deg, #2b160f, #8b4b31);
    box-shadow: inset 0 -14px 0 rgba(0, 0, 0, .18)
}

.tray i:nth-child(2n) {
    background: radial-gradient(circle at 36% 28%, #fff 0 9%, transparent 10%), linear-gradient(145deg, #f1ddbd, #ba7648)
}

.tray i:nth-child(3n) {
    background: radial-gradient(circle at 36% 28%, #fff2cf 0 9%, transparent 10%), linear-gradient(145deg, #c55b57, #4a1813)
}

.lid {
    position: absolute;
    right: 28px;
    top: 20px;
    z-index: 2;
    padding: 17px 24px;
    border: 2px solid var(--deep);
    border-radius: 20px;
    background: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    transform: rotate(9deg);
    box-shadow: 10px 10px 0 var(--rose)
}

.ribbon {
    position: absolute;
    left: 18%;
    bottom: 36px;
    width: 300px;
    height: 54px;
    border-radius: 999px;
    background: var(--rose);
    transform: rotate(12deg);
    opacity: .92
}

.box-builder {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 20px;
    margin-top: 20px
}

.builder-panel {
    border-radius: 32px;
    padding: 28px;
    box-shadow: var(--shadow)
}

.builder-list {
    display: grid;
    gap: 12px
}

.builder-list div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .1)
}

.builder-list b {
    display: block;
    font-size: 20px
}

.admin-nav {
    position: sticky;
    top: 92px;
    z-index: 10;
    margin: 0 0 16px;
    padding: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-radius: 24px;
    background: rgba(255, 250, 242, .86);
    border: 1px solid rgba(255, 250, 242, .7);
    backdrop-filter: blur(14px)
}

.admin-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--deep);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 16px
}

.admin-hero {
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 22px;
    align-items: center;
    margin-bottom: 18px;
    padding: 38px;
    background: linear-gradient(135deg, #2a170f, #68412b);
    color: #fff
}

.admin-hero p {
    color: rgba(255, 255, 255, .75)
}

.admin-badge {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    justify-self: end;
    text-align: center;
    background: var(--gold);
    color: var(--deep);
    border: 10px solid rgba(255, 255, 255, .2);
    transform: rotate(8deg)
}

.admin-badge b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: .85
}

.admin-badge span {
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0
}

.metric {
    text-decoration: none;
    transition: .18s
}

.metric:hover {
    transform: translateY(-4px)
}

.admin-note h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    margin: 0 0 8px
}

.table-card {
    overflow: auto;
    margin: 20px 0px;
}

.table,
.table-card table,
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px
}

.table th,
.table td,
.table-card th,
.table-card td,
table th,
table td {
    padding: 11px 12px;
    background: #fffaf2;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

.table th:first-child,
.table td:first-child,
.table-card th:first-child,
.table-card td:first-child,
table th:first-child,
table td:first-child {
    border-left: 1px solid var(--line);
    border-radius: 14px 0 0 14px
}

.table th:last-child,
.table td:last-child,
.table-card th:last-child,
.table-card td:last-child,
table th:last-child,
table td:last-child {
    border-right: 1px solid var(--line);
    border-radius: 0 14px 14px 0
}

.table a,
.table-card a,
table a {
    font-weight: 900
}

.danger {
    color: #b9423e !important
}

.checkout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 20px
}

.line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line)
}

.line.total {
    font-size: 20px;
    border-bottom: 0
}

.success-page {
    text-align: center;
    padding: 54px
}

.success-page h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    margin: 0 0 12px
}

.recommend-list {
    display: grid;
    gap: 10px;
    margin-top: 18px
}

.recommend-list a {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    text-decoration: none
}

.recommend-list span {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #fff;
    overflow: hidden
}

.recommend-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

@media(max-width:1050px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .showcase {
        min-height: 500px
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .taste-icons {
        grid-template-columns: repeat(3, 1fr)
    }

    .cart-layout,
    .product-show,
    .auth-screen,
    .box-hero,
    .box-builder,
    .checkout {
        grid-template-columns: 1fr
    }

    .auth-art {
        min-height: 420px
    }

    .admin-badge {
        justify-self: start
    }

    .admin-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    body:before {
        width: 72vw
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column
    }

    .nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px
    }

    .nav a,
    .link-button {
        width: 100%;
        font-size: 11px;
        padding: 8px 7px;
        white-space: normal;
        text-align: center
    }

    .hero,
    .catalog-hero,
    .page-head,
    .box-hero,
    .auth-card,
    .admin-hero {
        padding: 28px;
        border-radius: 30px
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.04;
        overflow-wrap: anywhere
    }

    .actions .btn {
        width: 100%
    }

    .showcase {
        min-height: 360px
    }

    .photo-ribbon {
        transform: translateX(-50%) scale(.72);
        transform-origin: top center
    }

    .price-bubbles {
        margin-top: 126px;
        transform: scale(.78);
        transform-origin: top center
    }

    .taste-icons,
    .stats-row,
    .feature-strip,
    .review-grid,
    .timeline,
    .history,
    .offer-grid,
    .product-grid {
        grid-template-columns: 1fr
    }

    .cart-row {
        grid-template-columns: 88px 1fr;
        gap: 10px
    }

    .qty-control,
    .row-sum,
    .remove {
        justify-self: start
    }

    .filter-panel form,
    .batch-row {
        grid-template-columns: 1fr
    }

    .split {
        grid-template-columns: 1fr
    }

    .footer {
        display: block
    }

    .admin-nav {
        position: static
    }

    .admin-grid {
        grid-template-columns: 1fr
    }

    .tray {
        width: 280px;
        padding: 20px;
        gap: 10px
    }

    .lid {
        right: 4px
    }

    .product-card p,
    .product-card h3 {
        min-height: 0
    }
}

@media(max-width:520px) {

    .topbar,
    .page,
    .footer {
        width: min(362px, calc(100vw - 28px));
        margin-left: 14px;
        margin-right: 14px
    }
}

@media(max-width:460px) {
    .actions .btn {
        width: 100%
    }

    .price-bubbles {
        left: -40px
    }

    .hero-photo {
        width: 146px;
        height: 176px
    }

    .auth-chip:nth-child(1) {
        width: 170px;
        height: 230px
    }

    .auth-chip:nth-child(2) {
        width: 190px;
        height: 160px
    }

    .auth-chip:nth-child(3) {
        left: 94px
    }

    .brand-text {
        font-size: 16px
    }
}











/* Catalog photo update */

.product-photo {
    height: 220px;
    background: #eee7de
}

.product-photo img,
.product-large img,
.cart-thumb img {
    object-fit: cover
}

.product-large img {
    object-position: center
}

.product-card.museum {
    background: rgba(255, 250, 242, .92)
}



/* Real auth popup */

body.modal-open {
    overflow: hidden
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none
}

.auth-modal.is-open {
    display: block
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(114, 110, 107, .76);
    backdrop-filter: blur(2px)
}

.auth-modal__scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #b9b2ab
}

.auth-modal__side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(50% - 260px);
    min-width: 240px;
    background-image: url('../images/auth/modal-side-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1
}

.auth-modal__side--left {
    left: 0;
    background-position: left center;
    mask-image: linear-gradient(to right, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 72%, transparent 100%)
}

.auth-modal__side--right {
    right: 0;
    background-position: right center;
    mask-image: linear-gradient(to left, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 72%, transparent 100%)
}

.auth-modal__center-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(188, 183, 178, .08) 0%, rgba(188, 183, 178, .62) 34%, rgba(188, 183, 178, .82) 50%, rgba(188, 183, 178, .62) 66%, rgba(188, 183, 178, .08) 100%)
}

.auth-modal__card {
    position: relative;
    z-index: 2;
    width: 458px;
    min-height: 538px;
    padding: 34px 36px 28px;
    border-radius: 18px;
    background: #ede2d7;
    box-shadow: 0 24px 70px rgba(33, 20, 14, .20);
    border: 1px solid rgba(255, 255, 255, .42);
    color: #2b1d17;
    text-align: center
}

.auth-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .3);
    color: #4c362b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer
}

.auth-modal__close:hover {
    background: rgba(255, 255, 255, .5)
}

.auth-panel {
    display: none
}

.auth-panel.active {
    display: block
}

.auth-logo {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 900;
    color: #2d1b13
}

.auth-leaf {
    position: relative;
    width: 58px;
    height: 34px;
    display: block
}

.auth-leaf:before,
.auth-leaf:after {
    content: '';
    position: absolute;
    border: 2px solid #2d1b13;
    border-left: 0;
    border-bottom: 0;
    border-radius: 70% 0 70% 0;
    transform: rotate(-35deg)
}

.auth-leaf:before {
    width: 30px;
    height: 18px;
    left: 7px;
    top: 10px
}

.auth-leaf:after {
    width: 24px;
    height: 15px;
    right: 7px;
    top: 7px;
    opacity: .8
}

.auth-leaf {
    background: radial-gradient(ellipse at 50% 90%, #2d1b13 0 2px, transparent 3px)
}

.auth-panel h2 {
    font-family: Gilroy, Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.1;
    margin: 0 0 7px;
    font-weight: 900;
    letter-spacing: 0
}

.auth-switch {
    margin: 0 0 20px;
    color: #6b594f;
    font-size: 16px
}

.auth-switch a {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px
}

.soft-auth-form {
    text-align: left
}

.soft-auth-form .form-group {
    margin: 0 0 13px
}

.soft-auth-form label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 7px;
    color: #4d382d
}

.soft-auth-form label:after {
    content: ' *';
    color: #b76157
}

.remember-field label:after {
    content: ''
}

.soft-auth-form input {
    width: 100%;
    height: 42px;
    min-height: 42px !important;
    border-radius: 999px !important;
    background: rgba(255, 250, 246, .58) !important;
    border: 1px solid rgba(63, 39, 29, .38) !important;
    padding: 10px 18px !important;
    font-size: 16px !important;
    color: #2b1d17 !important;
    box-shadow: none !important
}

.soft-auth-form input::placeholder {
    color: #9b8b80
}

.soft-auth-form .help-block {
    font-size: 11px;
    min-height: 16px;
    margin: 4px 0 0;
    color: #a13e37
}

.soft-auth-form .has-error input {
    border-color: #a13e37 !important
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 11px
}

.auth-options a {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px
}

.remember-field {
    margin: 0 !important
}

.remember-field label {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #4d3d35 !important;
    font-size: 11px !important;
    font-weight: 500 !important
}

.remember-field input {
    width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    padding: 0 !important;
    border-radius: 2px !important;
    margin: 0 !important;
    accent-color: #2d1b13
}

.auth-submit {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #231610;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: none;
    margin-top: 2px
}

.auth-submit:hover {
    transform: translateY(-1px)
}

.auth-submit:disabled {
    opacity: .7;
    cursor: wait
}

.auth-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 16px 0 12px;
    color: #6b594f;
    font-size: 11px
}

.auth-or span {
    height: 1px;
    background: rgba(61, 39, 29, .35)
}

.auth-or em {
    font-style: normal
}

.auth-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.auth-socials a {
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(61, 39, 29, .42);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255, 250, 246, .35)
}

.auth-socials a:before {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-block
}

.auth-note {
    margin: 14px 0 0;
    color: #6b594f;
    font-size: 12px;
    font-weight: 800;
    text-align: center
}

.document-card {
    display: grid;
    gap: 10px;
    padding: 30px
}

.document-card h2 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px
}

.document-card p {
    margin: 0;
    color: #5f5148
}

.readonly-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 20px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 250, 242, .72)
}

.readonly-list p {
    margin: 0;
    color: #5f5148
}

@media(max-width:1100px) {
    .auth-modal__side {
        width: calc(50% - 240px)
    }
}

@media(max-width:900px) {
    .auth-modal__side {
        width: 220px
    }

    .auth-modal__card {
        width: min(458px, 92vw)
    }
}

@media(max-width:760px) {
    .auth-modal__side {
        display: none
    }

    .auth-modal__center-glow {
        background: rgba(188, 183, 178, .75)
    }

    .auth-modal__scene {
        padding: 18px
    }

    .auth-modal__card {
        width: min(440px, 94vw);
        min-height: auto;
        padding: 30px 22px 22px
    }
}

/* Final diploma polish */
.brand {
    min-width: 86px
}

.brand-logo {
    width: 100%;
    height: 100px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    box-shadow: none
}

.hero {
    min-height: 610px
}

.hero h1 {
    font-size: clamp(30px, 3vw, 44px);
    max-width: 520px;
    line-height: 1.04;
    margin: 0 0 16px
}

.price-bubble.main {
    text-decoration: none
}

.taste-icons b {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 22px rgba(43, 26, 18, .12)
}

.taste-icons b img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.box-photo-art {
    width: min(420px, 100%);
    min-height: 320px;
    justify-self: center
}

.box-photo-art img {
    min-height: 320px
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px
}

.profile-card h2,
.table-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    margin: 0 0 12px
}

.profile-card p {
    margin: 8px 0;
    color: #5f5148
}

.auth-modal {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease
}

.auth-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.auth-modal__backdrop {
    background: rgba(43, 26, 18, .55);
    opacity: 0;
    transition: opacity .28s ease
}

.auth-modal.is-open .auth-modal__backdrop {
    opacity: 1
}

.auth-modal__scene {
    background: #5f5d59 url('../images/auth/modal-bg.png') center/cover no-repeat;
    transform: scale(1.018);
    transition: transform .34s ease
}

.auth-modal.is-open .auth-modal__scene {
    transform: scale(1)
}

.auth-modal__side,
.auth-modal__center-glow {
    display: none
}

.auth-modal__scene:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 41, .34)
}

.auth-modal__card {
    width: min(760px, 92vw);
    min-height: 560px;
    padding: 42px 58px 36px;
    border-radius: 22px;
    background: #fdf3e5;
    transform: translateY(24px) scale(.96);
    opacity: .2;
    transition: transform .34s ease, opacity .34s ease
}

.auth-modal.is-open .auth-modal__card {
    transform: translateY(0) scale(1);
    opacity: 1
}

.auth-logo img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: contain
}

.auth-demo-data {
    display: grid;
    gap: 5px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(63, 39, 29, .18);
    border-radius: 16px;
    background: rgba(255, 250, 246, .44);
    font-size: 16px;
    text-align: left;
    color: #4d382d
}

.auth-demo-data b {
    font-size: 22px
}

.auth-note a {
    font-weight: 900;
    color: #3b2418
}

.soft-auth-form input,
.soft-auth-form textarea,
.soft-auth-form select,
.auth-modal-form input,
.auth-modal-form textarea,
.auth-modal-form select,
input,
textarea,
select,
button {
    font-family: inherit
}

.auth-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 16px;
    font-size: 14px;
    line-height: 1.35;
    color: #4d382d;
    text-align: left
}

.auth-consent-check input {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin-top: 1px;
    accent-color: #5b3424
}

.auth-copy {
    margin: 8px 0 0;
    color: #6b5a50;
    font-size: 13px;
    text-align: center
}

.inline-admin-form {
    display: inline-block;
    margin: 0 6px 6px 0
}

.table-card .inline-admin-form {
    margin-bottom: 0
}

.form-hint {
    margin: -4px 0 12px;
    color: #6b5a50;
    font-size: 14px
}

.remember-field input {
    width: 20px !important;
    height: 20px !important;
    min-height: 20px !important
}

@media(max-width:760px) {
    .profile-grid {
        grid-template-columns: 1fr
    }

    .auth-modal__card {
        width: min(520px, 94vw);
        padding: 30px 22px 24px
    }

    .auth-logo img {
        width: 96px;
        height: 82px
    }

    .box-photo-art,
    .box-photo-art img {
        min-height: 260px
    }
}

@font-face {
    font-family: SA;
    src: url('/css/fonts/Saxonia_Antiqua.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'SA' !important;
}
