@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
    font-family: "DM Sans", sans-serif;
    color: #20241f;
    background: #f8f7f3;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #20241f;
    --muted: #777a70;
    --orange: #ee6037;
    --lime: #4fbf7f;
    --paper: #f8f7f3;
    --line: #deded5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-width: 320px
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

.shop-header,
.shop-footer,
.admin-header {
    height: 82px;
    padding: 0 clamp(20px, 6vw, 92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: var(--paper)
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -.08em
}

.wordmark>span {
    font-size: 29px
}

.wordmark .amp {
    color: var(--orange);
    padding: 0 2px
}

.wordmark small {
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .16em;
    font-weight: 700
}

.header-actions,
.admin-header>div {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 12px;
    font-weight: 600
}

.language-link {
    border: 1px solid var(--line);
    padding: 9px 11px;
    border-radius: 50%
}

.cart-link {
    display: flex;
    gap: 10px;
    align-items: center
}

.cart-link b {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--lime);
    font-size: 11px
}

.hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    padding: clamp(72px, 10vw, 138px) clamp(24px, 11vw, 160px) 90px;
    background: linear-gradient(135deg, #8fd694 0%, #4fbf7f 55%, #2fa37a 100%);
    display: flex;
    align-items: center
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 570px
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--orange);
    margin: 0 0 18px
}

.hero h1,
.catalog h2,
.store-note h2,
.admin-title h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0
}

.hero h1 em {
    color: var(--orange);
    font-weight: 600
}

.hero-description {
    max-width: 420px;
    color: #44483f;
    font-size: 14px;
    line-height: 1.8;
    margin: 24px 0 30px
}

.hero-button {
    display: inline-flex;
    gap: 32px;
    align-items: center;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 2px;
    padding: 16px 21px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer
}

.hero-button:hover {
    background: var(--orange)
}

.hero-button>span:last-child {
    font-size: 19px
}

.hero-art {
    position: absolute;
    width: 420px;
    height: 420px;
    right: 9%;
    top: 50%;
    transform: translateY(-50%) rotate(-9deg)
}

.art-circle {
    position: absolute;
    inset: 23px;
    border: 1px solid rgba(32, 36, 31, .45);
    border-radius: 50%
}

.art-circle:before,
.art-circle:after {
    content: "";
    position: absolute;
    background: var(--orange);
    border-radius: 50%
}

.art-circle:before {
    width: 205px;
    height: 205px;
    top: 11px;
    right: 15px
}

.art-circle:after {
    width: 155px;
    height: 155px;
    bottom: 15px;
    left: 2px;
    background: #f8f7f3
}

.art-label {
    position: absolute;
    top: 131px;
    left: 135px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .87;
    transform: rotate(9deg)
}

.art-label span {
    font-size: 9px;
    letter-spacing: .2em
}

.art-bar {
    position: absolute;
    right: 5px;
    bottom: 67px;
    width: 210px;
    height: 48px;
    background: var(--ink);
    transform: rotate(18deg)
}

.hero-foot {
    position: absolute;
    left: clamp(24px, 11vw, 160px);
    right: clamp(24px, 11vw, 160px);
    bottom: 24px;
    border-top: 1px solid rgba(32, 36, 31, .25);
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em
}

.catalog {
    padding: 90px clamp(24px, 8vw, 116px) 110px
}

.catalog-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 32px
}

.catalog h2,
.store-note h2 {
    font-size: clamp(36px, 5vw, 58px)
}

.filter-label {
    display: grid;
    gap: 7px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted)
}

.filter-label select {
    min-width: 170px;
    border: 1px solid var(--line);
    background: transparent;
    padding: 12px;
    color: var(--ink);
    text-transform: none;
    letter-spacing: normal
}

.catalog-status {
    font-size: 13px;
    color: var(--muted)
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px
}

.product-card {
    min-width: 0
}

.product-gallery {
    min-width: 0
}

.product-image {
    position: relative;
    aspect-ratio: 4/5;
    background: #fff;
    overflow: hidden;
    padding: 30px
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.product-image-thumbnails {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-top: 8px;
    min-height: 69px;
}

.product-image-thumbnails button {
    width: 46px;
    height: 56px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer
}

.product-image-thumbnails button[aria-pressed="true"] {
    border: 2px solid var(--orange)
}

.product-image-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--lime);
    padding: 7px 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.product-info {
    padding: 14px 0
}

.product-info h3 {
    margin: 0 0 7px;
    font-size: 14px
}

.product-info p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55
}

.product-price {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 12px;
    font-weight: 700;
    font-size: 14px
}

.product-price del {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400
}

.product-price small {
    font-size: 9px;
    color: var(--muted);
    font-weight: 400
}

.product-variants {
    margin-top: 8px;
    font-size: 10px;
    color: var(--muted)
}

.empty-state {
    grid-column: 1/-1;
    padding: 80px 24px;
    text-align: center;
    border: 1px dashed var(--line);
    color: var(--muted)
}

.store-note {
    margin: 0 clamp(24px, 8vw, 116px) 90px;
    padding: 45px 52px;
    background: #20241f;
    color: #f8f7f3;
    display: flex;
    align-items: center;
    gap: 32px
}

.store-note .eyebrow {
    color: var(--orange)
}

.store-note p:last-child {
    color: #c1c3ba;
    margin-bottom: 0;
    font-size: 13px
}

.note-mark {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-style: italic;
    color: var(--lime)
}

.note-city {
    margin-left: auto;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: .2em;
    text-align: right
}

.shop-footer {
    height: auto;
    min-height: 92px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    font-size: 11px;
    color: var(--muted)
}

.shop-footer .wordmark {
    color: var(--ink)
}

.admin-body {
    background: #f4f3ef
}

.admin-header {
    background: #fff
}

.admin-header>div {
    gap: 20px
}

.admin-main {
    max-width: 1440px;
    margin: auto;
    padding: 54px clamp(20px, 5vw, 72px) 90px
}

.admin-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px
}

.admin-title h1 {
    font-size: 50px
}

.admin-title>div>p:last-child {
    color: var(--muted);
    font-size: 13px
}

.admin-status {
    min-height: 24px;
    color: var(--lime);
    font-size: 13px
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.6fr);
    gap: 22px;
    align-items: start
}

.admin-list-panel,
.product-form {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line)
}

.admin-list-panel h2,
.form-heading h2 {
    font-size: 18px;
    margin: 0
}

.admin-product-list {
    display: grid;
    gap: 9px;
    margin-top: 20px
}

.admin-product {
    display: flex;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    cursor: pointer
}

.admin-product.active {
    border-color: var(--orange)
}

.admin-product img {
    width: 58px;
    height: 68px;
    object-fit: contain;
    background: #fff
}

.admin-product-copy {
    min-width: 0
}

.admin-product-copy strong,
.admin-product-copy small {
    display: block
}

.admin-product-copy strong {
    font-size: 12px;
    margin: 4px 0
}

.admin-product-copy small {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.6
}

.form-heading,
.variant-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.form-heading .eyebrow {
    margin-bottom: 7px
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form-grid label {
    display: grid;
    gap: 7px;
    font-size: 11px;
    font-weight: 600
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.variant-row input {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px;
    border-radius: 2px;
    font-size: 12px
}

.form-grid textarea {
    resize: vertical
}

.form-grid .wide {
    grid-column: 1/-1
}

.form-grid input[type=file] {
    padding: 9px
}

#image-count {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted)
}

#current-image {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px
}

.admin-image-item {
    min-width: 0;
    margin: 0;
    padding: 7px;
    border: 1px solid var(--line);
    background: #fff
}

.admin-image-item img {
    display: block;
    width: 100%;
    height: 94px;
    object-fit: contain;
    background: #fff
}

.admin-image-item.is-pending-removal img {
    opacity: .4
}

.admin-image-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 7px
}

.admin-image-reorder,
.admin-image-remove {
    border: 1px solid var(--line);
    background: #fff;
    padding: 6px 4px;
    color: var(--ink);
    font-size: 9px;
    cursor: pointer
}

.admin-image-reorder:disabled {
    opacity: .35;
    cursor: default
}

.admin-image-remove {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 6px 4px;
    color: var(--ink);
    font-size: 9px;
    cursor: pointer
}

.admin-image-actions .admin-image-remove {
    grid-column: 1/-1;
    margin-top: 0
}

.admin-image-item.is-pending-removal .admin-image-remove {
    color: var(--orange)
}

.variant-heading {
    margin: 30px 0 13px
}

.variant-heading h3 {
    margin: 0;
    font-size: 14px
}

.variant-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px
}

.small-button,
.text-button {
    border: 1px solid var(--line);
    background: transparent;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer
}

.variant-list {
    display: grid;
    gap: 8px
}

.variant-row {
    display: grid;
    grid-template-columns: 1.1fr .8fr .9fr .9fr .65fr 30px;
    gap: 7px;
    align-items: center
}

.variant-row input {
    min-width: 0;
    padding: 9px;
    font-size: 10px
}

.variant-row button {
    border: 0;
    background: transparent;
    color: var(--orange);
    font-size: 18px;
    cursor: pointer
}

.featured-toggle {
    margin: 18px 0
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding-top: 18px
}

.form-actions .hero-button {
    padding: 13px 17px
}

@media(max-width:980px) {
    .hero-art {
        right: 1%;
        opacity: .65
    }

    .hero-copy {
        max-width: 500px
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .admin-layout {
        grid-template-columns: 1fr
    }

    .admin-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:680px) {

    .shop-header,
    .admin-header {
        height: 70px;
        padding: 0 18px
    }

    .header-actions {
        gap: 14px;
        font-size: 10px
    }

    .admin-link {
        display: none
    }

    .wordmark>span {
        font-size: 25px
    }

    .hero {
        min-height: 610px;
        padding: 76px 24px 90px;
        align-items: flex-start
    }

    .hero-copy {
        max-width: 100%
    }

    .hero h1 {
        font-size: 60px
    }

    .hero-description {
        max-width: 330px;
        font-size: 13px
    }

    .hero-art {
        width: 270px;
        height: 270px;
        top: auto;
        bottom: 48px;
        right: -20px;
        transform: rotate(-9deg);
        opacity: .62
    }

    .art-circle:before {
        width: 130px;
        height: 130px
    }

    .art-circle:after {
        width: 100px;
        height: 100px
    }

    .art-label {
        top: 84px;
        left: 86px;
        font-size: 24px
    }

    .art-bar {
        width: 140px;
        height: 34px;
        bottom: 45px
    }

    .hero-foot {
        left: 24px;
        right: 24px;
        font-size: 7px
    }

    .catalog {
        padding: 66px 20px 72px
    }

    .catalog-heading {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column
    }

    .catalog h2 {
        font-size: 42px
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px
    }

    .product-info h3 {
        font-size: 12px
    }

    .product-image {
        aspect-ratio: 3/4
    }

    .store-note {
        margin: 0 20px 60px;
        padding: 28px 20px;
        gap: 16px
    }

    .note-mark {
        font-size: 18px
    }

    .store-note h2 {
        font-size: 30px
    }

    .store-note p:last-child {
        font-size: 11px
    }

    .note-city {
        font-size: 8px
    }

    .shop-footer {
        padding: 15px 18px;
        gap: 15px;
        flex-wrap: wrap;
        font-size: 9px
    }

    .shop-footer .wordmark {
        flex: 1
    }

    .admin-header>div {
        gap: 11px;
        font-size: 10px
    }

    .admin-main {
        padding: 38px 16px
    }

    .admin-title {
        align-items: flex-start;
        gap: 12px
    }

    .admin-title h1 {
        font-size: 38px
    }

    .admin-title .hero-button {
        font-size: 10px;
        padding: 12px
    }

    .admin-list-panel,
    .product-form {
        padding: 17px
    }

    .admin-product-list {
        grid-template-columns: 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid .wide {
        grid-column: auto
    }

    .variant-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 7px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line)
    }

    .variant-row button {
        grid-column: 3;
        grid-row: 1;
        justify-self: end
    }
}
.language-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px
}

.language-tab {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 10px 14px;
    margin-bottom: -1px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
    color: var(--muted)
}

.language-tab.active {
    color: var(--ink);
    border-bottom-color: var(--orange)
}

.language-panels {
    grid-template-columns: 1fr;
    margin-bottom: 16px
}

.language-panel {
    display: grid;
    gap: 16px
}

.language-panel[hidden] {
    display: none
}

.variant-row input[hidden] {
    display: none
}
.language-translate {
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    padding: 7px 12px;
    font-size: 11px;
    cursor: pointer;
    align-self: center
}

[hidden] {
    display: none !important;
}

.homepage-form fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 0 18px;
    padding: 14px;
}

.homepage-form legend {
    font-weight: 700;
    padding: 0 6px;
}

.homepage-form label {
    display: block;
    margin-bottom: 12px;
}

.homepage-form input,
.homepage-form textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
}

.language-menu {
    position: relative;
}

.language-menu summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    padding: 6px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu ul {
    position: absolute;
    right: 0;
    z-index: 20;
    margin: 6px 0 0;
    padding: 6px;
    list-style: none;
    min-width: 140px;
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.language-menu li a {
    display: block;
    padding: 6px 10px;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
}

.language-menu li a:hover,
.language-menu li a[aria-current] {
    background: #f1f1f1;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.dashboard-card {
    display: block;
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.dashboard-card:hover {
    border-color: #4fbf7f;
}

.dashboard-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.dashboard-panel {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}

.dashboard-panel h2 {
    margin: 0 0 12px;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.dashboard-table th,
.dashboard-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.status-pill {
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef7f1;
}

.dashboard-empty {
    color: #777;
}

.dashboard-products {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-products li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dashboard-products img,
.dashboard-noimg {
    width: 48px;
    height: 48px;
    flex: none;
    object-fit: cover;
    border-radius: 6px;
    background: #f1f1f1;
}

.dashboard-products small {
    display: block;
    color: #777;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.period-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.period-link {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-size: .9rem;
}

.period-link.active {
    background: #4fbf7f;
    border-color: #4fbf7f;
    color: #fff;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.stat-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 14px 16px;
}

.stat-card span {
    display: block;
    color: #777;
    font-size: .85rem;
}

.stat-card strong {
    font-size: 1.4rem;
}

.dashboard-list {
    margin: 0;
    padding-left: 20px;
}

.dashboard-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.dashboard-list small {
    display: block;
    color: #777;
}

.stock-out {
    color: #c0392b;
    font-weight: 700;
}

.dashboard-panel--wide {
    grid-column: 1 / -1;
}

.admin-status.is-error {
    color: #c0392b;
}
