
:root {
    --dark: #123737;
    --dark2: #17272b;
    --sand: #f5f3ee;
    --sand2: #e9e5de;
    --line: #e7e7e3;
    --muted: #778080;
    --orange: #d6904f;
    --radius: 14px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--store-text, #253335);
    background: var(--store-bg, #fff);
    font: var(--store-text-size, 14px) var(--store-body-font, 'DM Sans', Arial, sans-serif)
}

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

a:hover {
    color: #367c79
}

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

button {
    cursor: pointer
}

img {
    object-fit: cover
}

h1, h2, h3, h4, p {
    margin-top: 0
}

h1, h2 {
    letter-spacing: -.035em;
    font-family: var(--store-heading-font, 'DM Sans', Arial, sans-serif)
}

h1 {
    font-size: 46px
}

h2 {
    font-size: 27px
}

small, .muted {
    color: var(--muted)
}

.container {
    width: min(var(--store-content-width, 1340px), calc(100% - 56px));
    margin: auto
}

.announcement {
    background: var(--dark);
    color: white;
    padding: 10px 5%;
    font-size: 12px;
    text-align: center
}

.announcement span {
    margin-left: 38px;
    opacity: .72
}

.store-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid var(--line)
}

.header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 78px;
    height: auto;
    padding: 16px 0
}

.store-header.logo-size-l .header-line {
    min-height: 80px
}

.logo, .admin-logo {
    font: 34px 'Playfair Display', Georgia, serif;
    color: #102e2d;
    white-space: nowrap
}

.search {
    width: min(520px, 48%);
    display: flex;
    border: 1px solid #ededeb;
    background: #f6f6f5;
    border-radius: 60px;
    overflow: hidden
}

.search input {
    border: none;
    background: transparent;
    outline: 0;
    padding: 13px 20px;
    width: 100%
}

.search button {
    border: none;
    background: transparent;
    font-size: 25px;
    padding: 0 18px
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 600
}

.header-action {
    display: grid;
    min-width: 42px;
    place-items: center;
    gap: 5px;
    color: var(--store-text, #263432);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease
}

.header-action svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55
}

.header-action:hover,
.header-action:focus-visible {
    color: var(--store-primary, var(--dark));
    outline: none
}

.header-action:focus-visible {
    border-radius: 7px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--store-primary, var(--dark)) 45%, transparent)
}

.admin-link {
    color: var(--muted)
}

.nav-categories {
    display: flex;
    gap: 38px;
    align-items: center;
    min-height: 48px;
    padding: 10px 0 12px;
    font-size: 12px;
    font-weight: 600
}

.store-header.logo-size-l .nav-categories {
    padding-top: 12px
}

.notifications {
    padding-top: 0
}

.alert {
    padding: 13px 16px;
    margin: 14px 0;
    border-radius: 8px;
    background: #f5f0e5
}

.alert.good {
    background: #e6f4ec
}

.alert.bad {
    background: #fce5e3
}

.order-update-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0 22px;
    padding: 16px 18px;
    border: 1px solid #a9d9bc;
    border-radius: 12px;
    box-shadow: 0 8px 22px #1d75401a;
    color: #1f6c43;
    font-size: 14px;
    font-weight: 700;
    animation: order-update-notice-in .24s ease-out
}

.order-update-notice svg {
    width: 21px;
    height: 21px;
    flex: none;
    padding: 4px;
    border-radius: 50%;
    color: #fff;
    background: #25804e;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round
}

/* A save confirmation is intentionally prominent only on the shipping settings page. */
.admin-shipping-page .shipping-save-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 18px 0 22px;
    padding: 15px 18px;
    border: 1px solid #9ed5b4;
    border-radius: 12px;
    background: #e5f5eb;
    box-shadow: 0 8px 22px #1d75401a;
    color: #17663f;
    font-size: 14px;
    font-weight: 750;
    animation: order-update-notice-in .24s ease-out
}

.admin-shipping-page .shipping-save-notice svg {
    width: 21px;
    height: 21px;
    flex: none;
    padding: 4px;
    border-radius: 50%;
    color: #fff;
    background: #25804e;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round
}

.order-update-notice:focus-visible {
    outline: 3px solid #82c89d;
    outline-offset: 3px
}

@keyframes order-update-notice-in {
    from { opacity: 0; transform: translateY(-5px) }
    to { opacity: 1; transform: translateY(0) }
}

@media (prefers-reduced-motion: reduce) {
    .order-update-notice {
        animation: none
    }
}

.hero {
    margin-top: 12px;
    display: grid;
    grid-template-columns:44% 56%;
    height: 475px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #e7e0d4
}

.hero-copy {
    position: relative;
    padding: 80px 52px;
    background: linear-gradient(115deg, #e9dfd3, #f5f0e8)
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    color: #59706f;
    font-weight: 700;
    margin-bottom: 15px
}

.hero-copy h1 {
    font: clamp(45px, 5vw, 75px)/1.1 'Playfair Display', Georgia, serif;
    color: #1d3433;
    max-width: 440px;
    margin: 0 0 23px;
    text-transform: capitalize
}

.hero-copy p {
    line-height: 1.8;
    color: #586563;
    max-width: 350px;
    margin-bottom: 28px
}

.hero-photo {
    background: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1600&q=90') center 30%/cover
}

.homepage-slider {
    position: relative;
    display: block;
    background: #e7e0d4
}

.hero-slide {
    position: relative;
    display: none;
    height: 100%;
    overflow: hidden
}

.hero-slide.active {
    display: grid;
    grid-template-columns:44% 56%
}

.homepage-slider .hero-slide.active,
.theme-nova .homepage-slider .hero-slide.active {
    display: block;
    animation: homepage-slide-fade .35s ease
}

@keyframes homepage-slide-fade {
    from { opacity: .72 }
    to { opacity: 1 }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-slider .hero-slide.active,
    .theme-nova .homepage-slider .hero-slide.active {
        animation: none
    }
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-slide-image + .hero-copy {
    background: linear-gradient(100deg, #e9dfd3 0%, #f5f0e8e8 48%, #f5f0e800 100%)
}

.homepage-slider .hero-copy {
    z-index: 1
}

.banner-product-link {
    position: absolute;
    inset: 0;
    z-index: 1
}

.homepage-slider-controls {
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: center
}

.homepage-slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #ffffffe0
}

.homepage-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffffa8;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease
}

.homepage-slider-dots button.active {
    width: 20px;
    background: var(--dark);
}

.homepage-slider-dots button:focus-visible {
    outline: 2px solid var(--store-primary, var(--dark));
    outline-offset: 3px
}

.hero-index {
    position: absolute;
    bottom: 40px;
    left: 54px;
    letter-spacing: .4em;
    color: #6d7975
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .15s, background .15s
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-dark {
    background: var(--store-button, var(--dark));
    color: var(--store-button-text, white)
}

.btn-dark:hover {
    background: #235c57;
    color: #fff
}

.btn-light {
    background: #fff;
    color: #173a37
}

.btn-outline {
    border-color: #d5dcd8;
    color: var(--dark);
    background: #fff
}

.btn-danger {
    border-color: #f2d6d5;
    background: #fff0ef;
    color: #b73c35
}

.btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.block {
    display: block;
    width: 100%
}

.trust-row {
    display: flex;
    justify-content: space-around;
    padding: 26px 5px;
    border-bottom: 1px solid var(--line);
    gap: 15px;
    color: #344d48;
    font-weight: 600;
    font-size: 13px
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 48px 0 23px;
    gap: 20px
}

.section-heading h2 {
    font: 35px 'Playfair Display', Georgia, serif;
    margin-bottom: 0
}

.section-heading > a {
    font-weight: 700;
    font-size: 12px
}

.category-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px
}

.category-tile {
    height: 190px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background-position: center;
    background-size: cover
}

.category-women {
    background-image: linear-gradient(90deg, #0009, transparent), url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=900&q=85')
}

.category-home {
    background-image: linear-gradient(90deg, #0009, transparent), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=900&q=85')
}

.category-tech {
    background-image: linear-gradient(90deg, #0009, transparent), url('https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=900&q=85')
}

.category-tile span {
    position: absolute;
    bottom: 20px;
    left: 23px;
    color: white;
    font: 26px 'Playfair Display', Georgia, serif
}

.category-tile small {
    display: block;
    color: #f3f3f3;
    font: 12px 'DM Sans', sans-serif;
    margin-top: 6px
}

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

.product-card {
    background: #fff;
    border: 1px solid #eaeae6;
    border-radius: var(--store-card-radius, 12px);
    overflow: hidden
}

.product-visual {
    height: auto;
    aspect-ratio: var(--store-product-ratio, 1 / 1);
    display: block;
    background: #f0eeea;
    position: relative
}

.product-visual img {
    width: 100%;
    height: 100%;
    transition: transform .25s
}

.product-card:hover img {
    transform: scale(1.035)
}

.sale-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #cb705a;
    color: white;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 11px
}

.product-details {
    padding: var(--store-product-padding, 15px)
}

.brand {
    font-size: var(--store-brand-size, 10px);
    font-weight: 800;
    color: #7d8987;
    letter-spacing: .13em
}

.product-title {
    display: block;
    font-size: var(--store-product-title-size, 14px);
    font-weight: 700;
    margin: 7px 0
}

.stars {
    color: #e8a14e;
    font-size: 12px;
    margin: 9px 0
}

.stars span {
    color: #a2a5a3
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: var(--store-product-price-margin, 14px 0)
}

.product-price strong {
    font-size: var(--store-product-price-size, 18px)
}

.product-price del {
    color: #a3a6a5;
    font-size: 12px
}

.product-card .btn {
    width: 100%;
    padding: var(--store-product-button-padding, 12px 22px);
    font-size: var(--store-product-button-size, 13px)
}

.product-grid-inner.hide-cart-actions .product-details > .btn,
.product-grid-inner.hide-cart-actions .product-details > form {
    display: none
}

.theme-preview-page.theme-preview-hide-brand .brand,
.theme-preview-page.theme-preview-hide-cart .product-details > .btn,
.theme-preview-page.theme-preview-hide-cart .product-details > form {
    display: none
}

body:not(.admin-body) main > section:not(.hero),
body:not(.admin-body) .page-main > section {
    margin-bottom: var(--store-section-space, 52px)
}

.btn {
    border-radius: var(--store-button-radius, 9px)
}

.promo-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px;
    margin: 58px 0
}

.promo {
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 40px;
    color: #fff;
    border-radius: var(--radius)
}

.promo-1 {
    background-image: linear-gradient(90deg, #203836b8, transparent), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1200&q=85')
}

.promo-2 {
    background-image: linear-gradient(90deg, #203836c0, transparent), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=1200&q=85')
}

.promo h2 {
    font: 33px 'Playfair Display', serif;
    margin: 15px 0
}

.promo > span {
    font-size: 11px;
    letter-spacing: .2em
}

.newsletter {
    background: #133c3a;
    color: #fff;
    border-radius: 15px;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0
}

.newsletter h2 {
    font: 35px 'Playfair Display', serif;
    margin-bottom: 12px
}

.newsletter p {
    opacity: .75
}

.newsletter .eyebrow {
    color: #b4d3c5
}

.store-footer {
    background: #182729;
    color: #fff;
    margin-top: 70px;
    padding: 50px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr repeat(3, 1fr);
    gap: 35px
}

.footer-grid h2 {
    font: 35px 'Playfair Display', serif
}

.footer-grid p, .footer-grid a {
    display: block;
    line-height: 2;
    color: #ccd4d1
}

.footnote {
    font-size: 12px;
    color: #b1beb8;
    border-top: 1px solid #ffffff30;
    margin-top: 35px;
    padding-top: 20px
}

/* Small production credit pinned to the bottom of the admin sidebar. */
.sidebar-credit {
    margin: auto 0 0;
    padding: 14px 10px 2px;
    border-top: 1px solid #eef2ef;
    color: #93a49d;
    font-size: 10px;
    line-height: 1.6
}

.page-main {
    min-height: 58vh;
    padding-top: 35px
}

.breadcrumb {
    font-size: 12px;
    color: #8b9490;
    margin-bottom: 28px
}

.page-main h1 {
    font: 45px 'Playfair Display', serif
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 30px
}

.filters a {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 30px
}

.filters a:hover {
    background: #edf3f1
}

.empty-state {
    text-align: center;
    padding: 70px;
    background: #f5f5f2;
    border-radius: 15px;
    margin: 25px 0
}

.detail-layout {
    display: grid;
    grid-template-columns:1.15fr 1fr;
    gap: 75px;
    margin-bottom: 70px
}

.detail-image {
    background: #f1efeb;
    border-radius: 15px;
    overflow: hidden;
    height: 600px
}

.detail-image img {
    width: 100%;
    height: 100%
}

.detail-copy {
    padding: 55px 15px
}

.detail-copy h1 {
    line-height: 1.18
}

.detail-copy > p {
    line-height: 1.9;
    color: #71807c
}

.big-price {
    font-size: 37px;
    font-weight: 700;
    margin: 35px 0
}

.buy-form {
    display: flex;
    align-items: end;
    gap: 15px
}

.buy-form input, .quantity-form input {
    width: 80px
}

.detail-note {
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding-top: 20px;
    color: #6f7977
}

.cart-layout, .checkout-layout {
    display: grid;
    grid-template-columns:1fr 355px;
    gap: 45px;
    margin-top: 35px
}

.cart-item {
    display: grid;
    grid-template-columns:110px 1fr auto;
    gap: 25px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

.cart-item img {
    width: 110px;
    height: 120px;
    border-radius: 10px
}

.cart-item h3 {
    margin: 5px 0;
    font-size: 17px
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px
}

.cart-item .quantity-form {
    display: inline-grid;
    align-items: center;
    gap: 4px;
    margin-top: 8px
}

.cart-item .quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 5px 8px 5px 12px;
    border: 1px solid #d8e2dd;
    border-radius: 10px;
    background: #fbfdfc;
    color: #29413a;
    font-size: 12px;
    font-weight: 700
}

.cart-item .quantity-control input {
    width: 94px;
    height: 36px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid #cfdcd5;
    border-radius: 7px;
    background: #fff;
    color: #173d37;
    font: inherit;
    font-weight: 700;
    text-align: center
}

.cart-item .quantity-control input:focus {
    outline: 2px solid #7baaa1;
    outline-offset: 1px
}

/* The cart quantity is entered directly; native number steppers are not part of this control. */
.cart-item .quantity-control input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield
}

.cart-item .quantity-control input[type="number"]::-webkit-inner-spin-button,
.cart-item .quantity-control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none
}

.cart-item .quantity-validation {
    margin: 0;
    color: #b73c35;
    font-size: 11px;
    font-weight: 650
}

.text-button {
    background: none;
    border: 0;
    color: #ba5959;
    margin-top: 10px
}

.summary-card, .form-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    align-self: start;
    background: #fafaf8
}

.summary-card h2 {
    font: 26px 'Playfair Display', serif
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 20px 0
}

.summary-card .btn {
    margin: 27px 0
}

.summary-card .muted {
    font-size: 12px;
    line-height: 1.7
}

.form-panel {
    background: #fff
}

.form-panel label, .login-card label, .admin-form label, .appearance-form > label {
    display: block;
    font-weight: 700;
    margin: 17px 0
}

input:not([type=radio]), textarea, select {
    background: #fff;
    border: 1px solid #dfe5e1;
    border-radius: 9px;
    padding: 12px 13px;
    outline-color: #6b9d97;
    max-width: 100%
}

.form-panel label input, .form-panel textarea, .login-card input, .admin-form input, .admin-form select, .admin-form textarea, .appearance-form input {
    width: 100%;
    display: block;
    margin-top: 8px
}

.success-page {
    text-align: center;
    padding: 110px 0
}

.success-mark {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    color: white;
    background: #337d66;
    font-size: 35px;
    margin: 0 auto 25px
}

.success-page h1 {
    font: 55px 'Playfair Display', serif
}

.login-screen {
    min-height: 75vh;
    display: grid;
    place-items: center;
    background: #f4f3ef
}

.login-card {
    max-width: 440px;
    width: 100%;
    background: #fff;
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 12px 60px #102e2d13
}

.login-card .logo {
    display: block;
    margin-bottom: 40px
}

.login-card h1 {
    font: 34px 'Playfair Display', serif
}

.login-card .muted {
    font-size: 11px;
    margin-top: 20px
}

/* Dashboard */
.admin-body {
    background: #f6f7f5;
    color: #233334
}

.admin-shell {
    display: grid;
    grid-template-columns:270px minmax(0, 1fr);
    min-height: 100vh
}

.sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 14px;
    color: #edf7f2;
    background: linear-gradient(160deg, #103b37 0%, #0b2f2b 100%);
    scrollbar-color: #6d9689 transparent;
    scrollbar-width: thin
}

.admin-body .sidebar > * {
    flex-shrink: 0
}

.sidebar::-webkit-scrollbar {
    width: 7px
}

.sidebar::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    background: #6d9689;
    background-clip: padding-box
}

.admin-logo {
    display: grid;
    grid-template-columns:50px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    flex: 0 0 auto;
    min-height: 74px;
    margin: 0 0 21px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #ffffff14;
    border-radius: 14px;
    color: #fff;
    background: #ffffff12;
    font: inherit;
    white-space: normal;
    transition: background .18s ease, border-color .18s ease
}

.admin-logo:hover {
    color: #fff;
    border-color: #ffffff24;
    background: #ffffff1b
}

.admin-logo:focus-visible,
.admin-nav-link:focus-visible,
.admin-menu-toggle:focus-visible {
    outline: 3px solid #afdccc;
    outline-offset: 2px
}

.admin-brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    min-width: 50px;
    place-items: center;
    overflow: hidden;
    border-radius: 11px;
    background: #ffffff18
}

.admin-brand-mark img {
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 4px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center
}

.admin-brand-mark svg {
    width: 23px;
    height: 23px;
    color: #e7f5ee
}

.admin-brand-copy {
    display: grid;
    min-width: 0;
    gap: 2px
}

.admin-brand-copy strong {
    overflow-wrap: anywhere;
    color: #fff;
    font: 700 14px/1.25 'DM Sans', Arial, sans-serif
}

.admin-brand-copy small {
    overflow-wrap: anywhere;
    color: #d2e6dd;
    font: 10px/1.35 'DM Sans', Arial, sans-serif
}

.admin-brand-copy em {
    margin-top: 3px;
    color: #a6c5b7;
    font: 9px/1.2 'DM Sans', Arial, sans-serif;
    font-style: normal
}

.admin-navigation {
    display: grid;
    flex: 0 0 auto;
    gap: 15px
}

.admin-nav-group {
    display: grid;
    gap: 3px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff14
}

.admin-nav-group:last-child {
    padding-bottom: 0;
    border-bottom: 0
}

.nav-heading {
    margin: 0 0 5px;
    padding: 0 10px;
    color: #9dbbad;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em
}

.admin-nav-link,
.side-logout {
    display: flex;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #dcece5;
    background: transparent;
    font: 600 13px/1.2 'DM Sans', Arial, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease
}

.admin-nav-link svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.admin-nav-link:hover {
    color: #fff;
    background: #ffffff14
}

.admin-nav-link.is-active {
    border-color: #a8dfc933;
    box-shadow: inset 3px 0 0 #9edbc2;
    color: #fff;
    background: #c5f1df20
}

.admin-nav-group form {
    margin: 0
}

.side-logout {
    border: 1px solid transparent
}

.side-logout:hover {
    color: #fff0eb;
    background: #ffffff14
}

.admin-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid #d9e4df;
    border-radius: 10px;
    color: #143b35;
    background: #fff;
    cursor: pointer
}

.admin-menu-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round
}

.admin-sidebar-backdrop {
    display: none
}

.admin-main {
    padding: 0 30px 45px;
    min-width: 0
}

.admin-top {
    height: 84px;
    background: #fff;
    margin: 0 -30px;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line)
}

.admin-top-context {
    min-width: 0;
    color: #63716e;
    font-size: 12px
}

.admin-top-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px
}

.admin-top-user {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid #e5ece8
}

.admin-top-user-avatar {
    display: grid;
    flex: none;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #123737;
    font-size: 12px;
    font-weight: 700
}

.admin-top-user-copy {
    display: grid;
    min-width: 0;
    gap: 1px
}

.admin-top-user-copy strong {
    max-width: 155px;
    overflow: hidden;
    color: #17332e;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin-top-user-copy small {
    color: #7c8b86;
    font-size: 10px;
    line-height: 1.2
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 25px;
    gap: 20px
}

.theme-editor-layout {
    --theme-control-height: 44px;
    --theme-field-gap: 8px;
    --theme-section-gap: 24px;
    --theme-grid-gap: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 20px;
    padding-bottom: 95px
}

.theme-settings-panels {
    display: grid;
    gap: 16px
}

.theme-panel h2 {
    margin-bottom: 5px;
    font-size: 20px
}

.theme-preset-grid, .theme-color-grid, .theme-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--theme-grid-gap)
}

.theme-preset {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    text-align: left
}

.theme-preset:hover, .theme-preset:focus-visible {
    border-color: #86a99c;
    outline: none
}

.theme-preset.active {
    border-color: var(--dark);
    box-shadow: 0 0 0 2px #d5e5de
}

.theme-preset-copy {
    display: grid;
    gap: 3px;
    padding-right: 20px
}

.theme-preset-copy small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35
}

.theme-preset-check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    font-weight: 800
}

.theme-preset.active .theme-preset-check {
    display: grid
}

.theme-palette {
    display: flex;
    height: 24px;
    overflow: hidden;
    border-radius: 6px
}

.theme-palette i {
    flex: 1
}

.theme-color-grid label, .theme-choice-grid label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 700
}

.theme-color-grid label > .theme-color-field {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 500
}

.theme-color-grid input[type="color"] {
    width: 34px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent
}

.theme-color-grid input[type="text"] {
    min-width: 0;
    flex: 1;
    height: 30px;
    padding: 0 4px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 12px
}

.theme-color-grid label:focus-within .theme-color-field {
    border-color: #86a99c;
    box-shadow: 0 0 0 2px #d5e5de
}

.theme-choice-grid select {
    width: 100%;
    height: var(--theme-control-height);
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box
}

.theme-segmented {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: stretch;
    width: fit-content;
    max-width: 100%;
    min-height: var(--theme-control-height);
    margin: 0;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #dce5e1;
    border-radius: 11px;
    background: #f5f8f7;
    box-sizing: border-box
}

.theme-segmented button {
    display: grid;
    min-height: calc(var(--theme-control-height) - 8px);
    place-items: center;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--dark2);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer
}

.theme-segmented button + button {
    border-left: 1px solid #dce5e1
}

.theme-segmented button.active {
    background: var(--dark);
    color: #fff;
    border-color: transparent
}

.theme-segmented button.active + button {
    border-left-color: transparent
}

.theme-segmented button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #77aea2;
    outline-offset: -2px
}

.theme-text-size {
    display: grid;
    justify-items: start;
    gap: var(--theme-field-gap)
}

.theme-control-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700
}

.theme-typography-controls {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    margin: 16px 0 14px
}

.theme-font-control {
    display: grid;
    gap: var(--theme-field-gap);
    min-width: 0
}

.theme-font-presets {
    display: inline-flex;
    width: fit-content
}

.theme-font-presets button {
    flex: 0 0 auto;
    padding-inline: 7px;
    font-size: 12px
}

.theme-type-sample {
    padding: 18px;
    border-radius: 10px;
    background: #f7f8f6
}

.theme-type-sample strong {
    display: block;
    font: 24px var(--store-heading-font, Georgia, serif)
}

.theme-type-sample p {
    margin: 5px 0 0
}

.theme-form-stack {
    display: grid;
    gap: var(--theme-section-gap);
    margin-top: 18px
}

.theme-form-group {
    display: grid;
    justify-items: start;
    gap: var(--theme-field-gap)
}

.theme-form-group .muted {
    margin: 0;
    font-size: 13px
}

.theme-product-selects {
    gap: var(--theme-grid-gap)
}

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

.theme-general-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px
}

.theme-switch {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: var(--theme-control-height);
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    font-weight: 600
}

.theme-switch input {
    position: absolute;
    opacity: 0
}

.theme-switch span {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 99px;
    background: #cbd4d0
}

.theme-switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    content: '';
    transition: transform .15s
}

.theme-switch input:checked + span {
    background: var(--dark)
}

.theme-switch input:checked + span::after {
    transform: translateX(14px)
}

.theme-live-preview {
    position: sticky;
    top: 18px;
    align-self: start
}

.preview-toggle button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff
}

.preview-toggle button.active {
    border-color: var(--dark);
    background: #edf5f1;
    color: var(--dark)
}

.theme-preview-viewport {
    position: relative;
    min-height: 410px;
    overflow: auto;
    border: 1px solid #e1e8e4;
    border-radius: 12px;
    background: #eef1ef;
    transition: height .2s ease
}

.theme-preview-canvas {
    position: relative;
    min-width: 100%;
    min-height: 100%
}

.theme-preview-frame {
    display: block;
    width: 1600px;
    height: 1500px;
    transform: scale(var(--theme-preview-scale, .4));
    transform-origin: top left;
    border: 0;
    background: #fff
}

.theme-preview-loading {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    color: var(--dark);
    background: #f7faf8e8;
    font-size: 14px
}

.theme-preview-loading .homepage-spinner {
    width: 28px;
    height: 28px
}

.theme-preview-loading[hidden] {
    display: none
}

.theme-preview-zoom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 10px
}

.theme-preview-zoom button,
.theme-preview-zoom output {
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--dark);
    font: inherit;
    font-size: 12px;
    font-weight: 700
}

.theme-preview-zoom button {
    min-width: 32px;
    padding: 0 9px;
    cursor: pointer
}

.theme-preview-zoom button:hover,
.theme-preview-zoom button:focus-visible {
    border-color: var(--dark);
    background: #edf5f1;
    outline: none
}

.theme-preview-zoom output {
    display: grid;
    min-width: 48px;
    place-items: center
}

.theme-preview-viewport.mobile {
    width: min(410px, 100%);
    margin-inline: auto;
    min-height: 640px;
    background: #1d2724
}

.theme-preview-viewport.mobile .theme-preview-frame {
    width: 390px;
    height: 760px;
}

.theme-publish-bar {
    position: fixed;
    z-index: 30;
    right: 30px;
    bottom: 0;
    left: 265px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    background: #fffffff5;
    box-shadow: 0 -8px 24px #173a3712
}

.theme-publish-bar p {
    margin: 0;
    font-size: 13px;
    font-weight: 700
}

.theme-publish-bar div {
    display: flex;
    gap: 8px
}

.theme-publish-overlay {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #142c29a8
}

.theme-publish-overlay > div {
    width: min(390px, 100%);
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    text-align: center
}

.theme-publish-overlay h2 {
    margin: 16px 0 8px
}

.theme-publish-overlay p {
    margin: 0;
    color: var(--muted)
}

.admin-heading h1 {
    font: 35px 'Playfair Display', serif;
    margin-bottom: 8px
}

.admin-heading p {
    margin-bottom: 0
}

.stat-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 17px
}

.stat-card, .panel {
    background: #fff;
    border: 1px solid #e9eeea;
    border-radius: 13px;
    box-shadow: 0 4px 20px #152f2c08
}

.stat-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    min-height: 150px
}

.stat-card span {
    color: #63716e;
    font-size: 12px
}

.stat-card strong {
    font-size: 30px;
    letter-spacing: -.04em;
    margin: 13px 0
}

.stat-card small {
    font-size: 11px
}

.dashboard-grid {
    display: grid;
    grid-template-columns:1.4fr 1fr;
    gap: 20px;
    margin-top: 20px
}

.panel {
    padding: 23px;
    min-width: 0
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 19px
}

.panel-head h2 {
    font: 23px 'Playfair Display', serif;
    margin: 0
}

.panel-head a {
    font-size: 12px;
    color: #2c6e66
}

.chart {
    height: 245px;
    position: relative;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.chart-grid {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #e7edea calc(25% - 1px), #e7edea 25%)
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-around;
    position: absolute;
    inset: 0;
    gap: 16px;
    padding: 0 18px
}

.chart-bars span {
    flex: 1;
    max-width: 34px;
    background: linear-gradient(#2e7771, #b8d8d0);
    border-radius: 6px 6px 0 0
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    color: #8c9a95;
    margin-top: 12px
}

.stock-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line)
}

.stock-row img {
    width: 54px;
    height: 55px;
    border-radius: 8px
}

.stock-row div {
    flex: 1
}

.stock-row strong, .stock-row small {
    display: block
}

.stock-row strong {
    font-size: 12px
}

.stock-row small {
    font-size: 11px;
    margin-top: 4px
}

.stock-row b {
    font-size: 12px;
    color: #bb6354
}

.space-top {
    margin-top: 20px
}

.table-scroll {
    overflow-x: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    white-space: nowrap
}

th {
    font-size: 11px;
    color: #8a9994;
    background: #f6f8f6
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #eaecea
}

td {
    font-size: 12px
}

td small {
    margin-top: 5px
}

.pill {
    display: inline-block;
    padding: 7px 11px;
    background: #e7f1e9;
    border-radius: 30px;
    font-size: 11px;
    color: #376b59
}

.quick-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 10px
}

.quick-grid a {
    background: #f7f9f7;
    text-align: center;
    padding: 25px 10px;
    border-radius: 9px;
    font-weight: 700
}

.inline-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.inline-actions .btn {
    padding: 8px 11px
}

.table-product {
    display: flex;
    align-items: center;
    gap: 12px
}

.table-product img {
    height: 48px;
    width: 48px;
    border-radius: 7px
}

.table-product strong, .table-product small {
    display: block
}

.admin-form {
    max-width: 920px
}

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

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

.appearance-form {
    max-width: 980px
}

.homepage-editor {
    max-width: 980px;
    margin-top: 24px
}

.homepage-section-list {
    display: grid;
    gap: 14px;
    margin-top: 20px
}

.homepage-section-card {
    position: relative;
    display: grid;
    grid-template-columns:minmax(150px, .55fr) minmax(0, 2fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfb
}

.homepage-component-help {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2
}

.homepage-component-help > button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #bbccc1;
    border-radius: 50%;
    background: #fff;
    color: #376b59;
    font: 700 14px/1 inherit;
    cursor: help
}

.homepage-component-help > button:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 2px
}

.homepage-component-help-tooltip {
    position: absolute;
    top: 30px;
    right: 0;
    display: none;
    width: min(290px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 8px;
    background: #173a37;
    box-shadow: 0 10px 24px #173a3733;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5
}

.homepage-component-help-tooltip p {
    margin: 0
}

.homepage-component-help:hover .homepage-component-help-tooltip,
.homepage-component-help:focus-within .homepage-component-help-tooltip {
    display: block
}

.homepage-section-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px
}

.homepage-section-summary strong {
    color: var(--dark)
}

.homepage-section-summary span,
.homepage-section-summary small {
    font-size: 12px
}

.homepage-section-summary span {
    color: #64756f
}

.homepage-section-summary small {
    padding: 4px 8px;
    border-radius: 99px;
    background: #e7f1e9;
    color: #376b59
}

.homepage-section-form {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end
}

.homepage-section-form label {
    display: grid;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #4f625b
}

.homepage-section-form input,
.homepage-section-form select,
.homepage-add-section select {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit
}

.homepage-product-picker {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.homepage-product-picker legend {
    padding: 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: #4f625b
}

.homepage-product-picker label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 7px;
    background: #fff;
    font-size: 12px;
    font-weight: 500
}

.featured-product-picker {
    grid-column: 1/-1;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff
}

.featured-product-picker label {
    display: grid;
    gap: 5px
}

.featured-product-results {
    display: grid;
    gap: 5px;
    max-height: 185px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff
}

.featured-product-result {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--dark);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer
}

.featured-product-result:hover,
.featured-product-result:focus-visible {
    outline: none;
    background: #edf4ef
}

.featured-product-result img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf1ef
}

.featured-product-result small {
    display: block;
    margin-top: 2px;
    color: #708078;
    font-weight: 600
}

.selected-featured-products {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
    gap: 6px
}

.selected-featured-product {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #dce8df;
    border-radius: 8px;
    background: #f7faf7;
    font-size: 12px;
    font-weight: 700;
    color: #4f625b
}

.selected-featured-product img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 6px;
    object-fit: cover
}

.selected-featured-product > span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.selected-featured-product .text-button {
    margin-left: auto;
    white-space: nowrap
}

.homepage-section-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.homepage-section-actions form {
    display: flex;
    gap: 8px
}

.homepage-add-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line)
}

.homepage-add-section label {
    font-size: 13px;
    font-weight: 700
}

.homepage-editor {
    padding-bottom: 92px
}

.homepage-publish-bar {
    position: fixed;
    z-index: 30;
    right: 30px;
    bottom: 0;
    left: 265px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    background: #fffffff5;
    box-shadow: 0 -8px 24px #173a3712
}

.homepage-publish-bar p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #4f625b
}

.homepage-publish-bar > div {
    display: flex;
    gap: 8px
}

.homepage-publish-overlay {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #142c29a8
}

.homepage-publish-overlay > div {
    width: min(390px, 100%);
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px #0004;
    text-align: center
}

.homepage-publish-overlay h2 {
    margin: 16px 0 8px;
    color: var(--dark)
}

.homepage-publish-overlay p {
    margin: 0;
    color: #62716c
}

.homepage-reset-dialog {
    width: min(460px, calc(100% - 32px));
    padding: 0;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px #0005
}

.homepage-reset-dialog::backdrop {
    background: #142c2970
}

.homepage-reset-dialog > div {
    padding: 28px
}

.homepage-reset-dialog h2 {
    margin: 0 0 10px;
    color: var(--dark)
}

.homepage-reset-dialog p {
    margin: 0;
    line-height: 1.6;
    color: #62716c
}

.homepage-reset-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px
}

.homepage-spinner {
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 4px solid #dce9e2;
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: homepage-spin .8s linear infinite
}

@keyframes homepage-spin {
    to {
        transform: rotate(360deg)
    }
}

.banner-manager {
    grid-column: 2;
    display: grid;
    gap: 14px
}

.banner-manager-toolbar,
.banner-slide-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px
}

.banner-manager-toolbar strong {
    min-width: 108px;
    text-align: center;
    font-size: 13px
}

.banner-autoplay-settings {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: var(--ink);
    font-size: 13px;
}

.banner-autoplay-settings > label:not(.banner-autoplay-toggle) {
    display: grid;
    gap: 6px;
}

.banner-autoplay-settings input[type="number"] {
    width: 128px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: inherit;
    background: #fff;
}

.banner-autoplay-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    gap: 8px;
    cursor: pointer;
}

.banner-autoplay-toggle input {
    width: 16px;
    height: 16px;
    accent-color: var(--dark);
}

.banner-manager-toolbar form,
.banner-slide-actions form,
.banner-image-editor form {
    margin: 0
}

.banner-slide-panel {
    display: grid;
    grid-template-columns:190px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff
}

.banner-image-editor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
}

.banner-image-editor > img,
.banner-image-placeholder {
    width: 100%;
    height: 132px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef1ef
}

.banner-image-placeholder {
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    color: #66766f;
    font-size: 12px
}

.banner-slide-form {
    display: grid;
    grid-template-columns:minmax(0, 1fr);
    gap: 10px;
    align-content: start
}

.banner-slide-form label {
    display: grid;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #4f625b
}

.banner-slide-form input,
.banner-slide-form textarea {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit
}

.banner-slide-form textarea {
    resize: vertical
}

.banner-product-picker {
    display: grid;
    gap: 8px
}

.banner-product-results {
    display: grid;
    gap: 5px;
    max-height: 185px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff
}

.banner-product-result {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--dark);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer
}

.banner-product-result:hover,
.banner-product-result:focus-visible {
    background: #edf4ef;
    outline: none
}

.banner-product-result img,
.banner-product-result-fallback {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf1ef
}

.banner-product-result small {
    display: block;
    margin-top: 2px;
    color: #708078;
    font-weight: 600
}

.selected-banner-products {
    display: grid;
    gap: 6px
}

.selected-banner-product {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #dce8df;
    border-radius: 8px;
    background: #f7faf7;
    font-size: 12px;
    font-weight: 700;
    color: #4f625b
}

.selected-banner-product > span {
    min-width: 0;
    flex: 1
}

.selected-banner-product .text-button {
    margin-left: auto;
    white-space: nowrap
}

.selected-banner-product img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover
}

.banner-slide-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 2px
}

.banner-slide-actions .btn {
    min-height: 29px;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 10.5px;
    line-height: 1.1
}

.banner-image-remove {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #efcbc7;
    border-radius: 7px;
    color: #b8413b;
    background: #fff5f4;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease
}

.banner-image-remove:hover {
    border-color: #df9f99;
    color: #94332e;
    background: #ffe8e5
}

.banner-image-remove:focus-visible {
    outline: 2px solid #bc514a;
    outline-offset: 2px
}

.banner-image-remove svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round
}

.theme-picker {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px;
    margin: 24px 0
}

.theme-choice {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 16px;
    cursor: pointer
}

.theme-choice input {
    accent-color: #275a52
}

.theme-choice > b {
    display: block;
    font-size: 17px;
    margin-top: 14px
}

.theme-choice p {
    color: #84928d;
    font-size: 12px
}

.theme-preview {
    height: 200px;
    border-radius: 10px;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between
}

.theme-preview span {
    letter-spacing: .2em
}

.theme-preview strong {
    font: 29px 'Playfair Display', serif
}

.theme-preview small {
    background: white;
    color: #173637;
    padding: 5px 10px;
    border-radius: 4px
}

.classic-preview {
    background: linear-gradient(115deg, #183e3cba, #dfb89120), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=800') center/cover
}

.nova-preview {
    background: linear-gradient(115deg, #173836bb, #dcbf9c20), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=800') center/cover
}

.theme-nova {
    --dark: #173b38
}

.theme-nova .hero {
    grid-template-columns:60% 40%;
    background: #d7cbbd
}

.theme-nova .hero-slide.active {
    grid-template-columns:60% 40%
}

.theme-nova .hero-copy {
    background: linear-gradient(115deg, #173431, #3b4942);
    color: white
}

.theme-nova .hero-copy h1, .theme-nova .hero-copy p {
    color: white
}

.theme-nova .hero-copy .eyebrow, .theme-nova .hero-index {
    color: #e5dfd4
}

.theme-nova .hero-photo {
    background-image: url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=1400&q=90')
}

.theme-nova .hero .btn {
    background: white;
    color: #173a37
}

.theme-nova .hero-slide-image + .hero-copy {
    background: linear-gradient(100deg, #173431 0%, #173431ed 65%, #17343100 100%)
}

.theme-nova .category-grid {
    grid-template-columns:1.5fr 1fr 1fr
}

.theme-nova .category-tile {
    height: 270px
}

.theme-nova .product-visual {
    height: auto
}

.theme-nova .product-card {
    border: none
}

.theme-nova .product-details {
    background: #f7f4ef
}

@media (max-width: 1050px) {
    .product-grid-inner {
        grid-template-columns:repeat(3, 1fr)
    }

    .theme-editor-layout {
        grid-template-columns: 1fr
    }

    .theme-live-preview {
        position: static
    }

    .dashboard-grid, .stat-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .header-actions {
        gap: 10px
    }

    .nav-categories {
        gap: 15px
    }
}

@media (max-width: 900px) {
    .theme-font-presets {
        width: fit-content
    }

    .theme-general-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 720px) {
    .theme-typography-controls {
        grid-template-columns: 1fr;
        align-items: start
    }

    .theme-text-size {
        justify-items: start;
        text-align: left
    }

    .theme-text-size .theme-segmented {
        justify-content: flex-start
    }

    .theme-font-presets {
        max-width: 100%;
        overflow-x: auto
    }

    .theme-font-presets button {
        padding-inline: 8px
    }

    .theme-product-selects,
    .theme-switch-grid,
    .theme-general-grid {
        grid-template-columns: 1fr
    }

    .container {
        width: calc(100% - 28px)
    }

    .header-line {
        height: auto;
        min-height: 0;
        padding: 14px 0;
        flex-wrap: wrap
    }

    .logo {
        font-size: 26px
    }

    .search {
        order: 3;
        width: 100%
    }

    .header-actions {
        gap: 10px
    }

    .nav-categories {
        overflow: auto;
        white-space: nowrap;
        min-height: 0;
        padding: 12px 0 14px
    }

    .store-header.logo-size-l .header-line {
        min-height: 0
    }

    .store-header.logo-size-l .nav-categories {
        padding-top: 14px
    }

    .announcement span {
        display: none
    }

    .hero, .theme-nova .hero {
        height: auto;
        grid-template-columns:1fr
    }

    .hero-slide.active,
    .theme-nova .hero-slide.active {
        grid-template-columns:1fr
    }

    .hero-copy {
        padding: 42px 25px;
        min-height: 320px
    }

    .hero-photo {
        min-height: 250px
    }

    .hero-copy h1 {
        font-size: 47px
    }

    .hero-index {
        bottom: 15px;
        left: 25px
    }

    .trust-row {
        flex-wrap: wrap
    }

    .category-grid, .promo-grid, .theme-nova .category-grid {
        grid-template-columns:1fr
    }

    .category-tile {
        height: 175px
    }

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

    .theme-preset-grid, .theme-color-grid, .theme-choice-grid {
        grid-template-columns: 1fr
    }

    .theme-publish-bar {
        right: 0;
        left: 0;
        padding: 12px 15px;
        flex-wrap: wrap
    }

    .product-visual, .theme-nova .product-visual {
        height: auto
    }

    .product-details {
        padding: 10px
    }

    .product-price {
        flex-wrap: wrap
    }

    .section-heading h2 {
        font-size: 29px
    }

    .newsletter {
        padding: 30px;
        display: block
    }

    .footer-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .detail-layout, .cart-layout, .checkout-layout {
        grid-template-columns:1fr;
        gap: 18px
    }

    .detail-image {
        height: 400px
    }

    .detail-copy {
        padding: 15px
    }

    .admin-main {
        padding: 0 15px 30px
    }

    .admin-top {
        margin: 0 -15px;
        padding: 15px;
        height: auto
    }

    .stat-grid, .dashboard-grid, .theme-picker, .form-grid {
        grid-template-columns:1fr
    }

    .homepage-section-card,
    .homepage-section-form {
        grid-template-columns:1fr
    }

    .homepage-section-actions {
        grid-column: auto
    }

    .banner-manager,
    .banner-slide-actions {
        grid-column: auto
    }

    .banner-slide-panel,
    .banner-slide-form {
        grid-template-columns:1fr
    }

    .homepage-add-section {
        align-items: stretch;
        flex-direction: column
    }

    .homepage-publish-bar {
        right: 0;
        left: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 12px 15px
    }

    .homepage-publish-bar > div {
        justify-content: flex-end
    }

    .quick-grid {
        grid-template-columns:repeat(2, 1fr)
    }

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

    .admin-heading {
        flex-wrap: wrap
    }

    .cart-item {
        grid-template-columns:75px 1fr
    }

    .cart-item img {
        width: 75px;
        height: 95px
    }

    .cart-item > div:last-child {
        grid-column: 2
    }

    .page-main h1 {
        font-size: 34px
    }
}

@media (max-width: 380px) {
    .product-grid-inner {
        grid-template-columns: 1fr
    }
}

.customer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 2px;
    padding-left: 18px;
    border-left: 1px solid #dedfd9
}

.customer-menu {
    position: relative;
    margin-left: 2px;
    padding-left: 18px;
    border-left: 1px solid #dedfd9
}

.customer-menu summary {
    display: grid;
    cursor: pointer;
    list-style: none
}

.customer-menu > div {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 9px);
    width: 150px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 30px #102e2d20
}

.customer-menu[open] > div {
    display: grid;
    gap: 9px
}

.customer-menu form button {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer
}

@media (max-width: 720px) {
    .header-actions {
        gap: 11px
    }

    .header-action {
        min-width: 38px;
        gap: 4px;
        font-size: 11px
    }

    .header-action svg {
        width: 21px;
        height: 21px
    }

    .customer-links,
    .customer-menu {
        margin-left: 0;
        padding-left: 11px
    }
}

@media (max-width: 430px) {
    .header-actions {
        width: 100%;
        justify-content: space-between
    }

    .customer-links {
        gap: 10px
    }
}

.auth-page {
    min-height: calc(100svh - 112px);
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background: #f4f1eb
}

.auth-form {
    max-width: 510px;
    width: 100%;
    margin: 0;
    padding: 48px;
    border: 1px solid #e2e8e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 45px rgba(16, 46, 45, .07)
}

.auth-form h1 {
    font: 42px 'Playfair Display', serif;
    margin-bottom: 10px
}

/* Merchant logo block: uploaded logo when present, store name as the fallback. */
.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-bottom: 12px
}

.auth-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(280px, 100%);
    max-height: 76px;
    object-fit: contain
}

.auth-logo span {
    font: 34px 'Playfair Display', Georgia, serif;
    color: #102e2d;
    text-align: center;
    white-space: nowrap
}

.auth-form .auth-intro {
    margin: 4px 0 14px;
    color: #65736f;
    line-height: 1.7
}

.auth-form > p {
    color: #65736f;
    line-height: 1.7
}

.auth-form label {
    display: block;
    font-weight: 700;
    margin: 18px 0
}

.auth-form input {
    width: 100%;
    display: block;
    margin-top: 8px
}

.password-field {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 8px
}

.password-field input {
    width: 100%;
    display: block;
    min-height: 44px;
    margin: 0;
    padding-right: 84px
}

.password-field button {
    position: absolute;
    right: 8px;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 30px;
    transform: translateY(-50%);
    border: 1px solid #cbd8d3;
    border-radius: 7px;
    color: #345047;
    background: #f6f9f7;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer
}

.auth-options {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 20px;
    font-size: 12px
}

.auth-foot {
    margin-top: 22px;
    text-align: center
}

.auth-foot a {
    font-weight: 700;
    color: var(--dark)
}

.auth-single {
    min-height: 70vh;
    display: grid;
    place-items: center;
    background: #f4f1eb
}

.auth-single .auth-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 45px #102e2d12
}

.check-label {
    font-weight: 400 !important;
    font-size: 12px
}

.check-label input {
    width: auto !important;
    display: inline !important;
    margin: 0 7px 0 0 !important
}

.account-layout {
    display: grid;
    grid-template-columns:220px minmax(0, 1fr);
    gap: 45px;
    padding-top: 48px;
    min-height: 65vh
}

.account-nav {
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 20px;
    background: #f7f8f6;
    border-radius: 12px
}

.account-nav strong {
    margin: 0 0 10px
}

.account-nav a, .account-nav button {
    padding: 10px;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit
}

.account-nav a:hover, .account-nav button:hover {
    background: #e8f1ee
}

.account-cards {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0
}

.account-cards article, .address-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    background: #fff
}

.account-cards small, .account-cards strong {
    display: block
}

.account-cards strong {
    margin-top: 8px
}

.order-row {
    display: grid;
    grid-template-columns:1.2fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.account-order-row {
    grid-template-columns: 1.1fr .9fr .9fr .9fr auto
}

.account-form {
    max-width: 720px
}

.account-form label {
    display: block;
    margin: 18px 0;
    font-weight: 700
}

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

.address-card {
    margin-bottom: 12px
}

.address-card p {
    margin: 8px 0;
    color: #65736f
}

.address-card .pill {
    margin-left: 8px
}

/* Checkout: delivery address and provider-ready demo payment. */
.checkout-page { padding-bottom: 56px }
.checkout-page-single { padding-top: 10px }
.checkout-page-single .checkout-layout { margin-top: 10px }
.checkout-section-heading p { margin: 0; color: #687773 }
.checkout-layout-modern { align-items: start; grid-template-columns: minmax(0, 1.48fr) minmax(310px, .72fr); gap: 26px }
.checkout-form-modern { display: grid; gap: 16px }
.checkout-section { padding: 24px; border: 1px solid #e1e7e4; border-radius: 14px; background: #fff; box-shadow: 0 7px 26px rgba(23, 54, 48, .045) }
.checkout-section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px }
.checkout-section-heading h2 { margin: 0 0 5px; font-size: 20px }
.checkout-step { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; background: var(--dark); color: #fff; font-size: 13px; font-weight: 800 }
.customer-checkout-summary { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 10px; background: #f3f7f5 }
.customer-avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--dark); color: #fff; font-weight: 800 }
.customer-checkout-summary strong, .customer-checkout-summary span { display: block }
.customer-checkout-summary span { margin-top: 2px; color: #61706c; font-size: 13px }
.customer-checkout-summary a { margin-left: auto; color: var(--dark); font-size: 13px; font-weight: 700 }
.compact-contact { max-width: 300px; margin-top: 13px }
.saved-addresses { display: grid; gap: 10px }
.checkout-address-card { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 15px; border: 1px solid #dbe3df; border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .16s, box-shadow .16s, background .16s }
.checkout-address-card:hover, .checkout-address-card.selected { border-color: var(--dark); background: #f7fbf9; box-shadow: 0 0 0 2px color-mix(in srgb, var(--dark) 10%, transparent) }
.checkout-address-card input { position: absolute; opacity: 0 }
.address-radio { width: 17px; height: 17px; margin-top: 3px; border: 1px solid #acbbb5; border-radius: 50%; background: #fff }
.checkout-address-card input:checked + .address-radio { border: 5px solid var(--dark) }
.address-card-copy, .address-card-copy > span { display: block }
.address-card-copy > span:not(.address-card-title) { margin-top: 3px; color: #5e6d68; font-size: 13px; line-height: 1.42 }
.address-card-title { display: flex !important; align-items: center; gap: 7px }
.address-card-title em { padding: 3px 6px; border-radius: 99px; background: #e4f1eb; color: #27634f; font-size: 10px; font-style: normal; font-weight: 800 }
.address-card-actions { display: flex; gap: 9px }
.text-button.danger { color: #a23a36 }
.add-address-button { justify-self: start; padding: 9px 2px; border: 0; background: transparent; color: var(--dark); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer }
.demo-payment-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: center; padding: 15px; border: 1px solid #dbe4e0; border-radius: 12px; background: #f7faf8 }
.checkout-payment-methods { display: grid; gap: 9px; margin-bottom: 14px }
.checkout-payment-method { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; padding: 12px; border: 1px solid #dce5e1; border-radius: 10px; cursor: pointer }
.checkout-payment-method input { position: absolute; opacity: 0 }
.checkout-payment-method input:checked + .address-radio { border: 5px solid var(--dark) }
.checkout-payment-method strong, .checkout-payment-method small { display: block }
.checkout-payment-method small { margin-top: 3px; color: #66766f; font-size: 12px }
.demo-card-visual { display: grid; min-height: 103px; align-content: space-between; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #173a37, #386a59); color: #fff; box-shadow: 0 10px 18px rgba(23, 58, 55, .18) }
.demo-card-visual span { font-size: 10px; font-weight: 800; letter-spacing: .12em }
.demo-card-visual b { font-size: 12px; letter-spacing: .06em }
.demo-card-visual small { font-size: 10px }
.demo-payment-card p, .summary-reassurance { margin: 5px 0 0; color: #61706c; font-size: 13px; line-height: 1.5 }
.checkout-note { display: block; margin-top: 18px; font-weight: 700 }
.checkout-note small, .guest-address-grid small { font-weight: 400 }
.checkout-note textarea { display: block; width: 100%; margin-top: 8px }
.secure-payment-note { margin: 15px 0; color: #547068; font-size: 12px }
.secure-payment-note span { margin-right: 5px; color: var(--dark); font-size: 18px; vertical-align: -2px }
.payment-unavailable { margin-bottom: 15px }
.checkout-summary-modern { padding: 22px; border: 1px solid #e1e7e4; border-radius: 14px; box-shadow: 0 10px 30px rgba(23, 54, 48, .06) }
.checkout-summary-modern .checkout-item { padding: 13px 0 }
.checkout-summary-modern .checkout-item:first-of-type { padding-top: 4px }
.summary-total { padding-top: 4px; font-size: 17px }
.checkout-address-modal[hidden] { display: none }
.checkout-address-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px }
.checkout-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 35, 31, .46) }
.checkout-modal-card { position: relative; z-index: 1; width: min(680px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow: auto; padding: 25px; border-radius: 15px; background: #fff; box-shadow: 0 25px 80px rgba(9, 31, 25, .28) }
.checkout-modal-card h2 { margin: 0 35px 5px 0 }
.checkout-modal-card > p { margin: 0 0 18px; color: #64736e }
.checkout-modal-card form { display: grid; gap: 18px }
.checkout-modal-card .form-grid { gap: 16px 20px }
.checkout-modal-card .form-grid label {
    display: grid;
    min-width: 0;
    gap: 7px;
    margin: 0;
    color: #263633;
    font-size: 14px;
    font-weight: 700
}
.checkout-modal-card .form-grid input,
.checkout-modal-card .form-grid textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    border-color: #d8e1dd;
    box-shadow: none
}
.checkout-modal-card .form-grid input { min-height: 44px }
.checkout-modal-card .form-grid textarea { min-height: 96px; resize: vertical }
.checkout-modal-card .check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #53655f;
    font-size: 13px
}
.checkout-modal-card .check-label input { width: 16px; height: 16px; margin: 0 }
.checkout-modal-card form .btn { justify-self: start; margin: 0; padding-inline: 22px }
.modal-close { position: absolute; top: 12px; right: 14px; width: 33px; height: 33px; border: 0; border-radius: 50%; background: #f0f3f1; color: #344440; font-size: 23px; line-height: 1; cursor: pointer }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.modal-open { overflow: hidden }

/* Merchant payment-method management. */
.payment-admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start }
.payment-provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
.payment-provider-card { display: grid; gap: 15px; min-height: 218px; padding: 19px; border: 1px solid #dfe8e3; border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(16, 47, 40, .035) }
.payment-provider-card.is-unavailable { background: #fafbfa; opacity: .78 }
.payment-provider-card header { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 11px; align-items: start }
.payment-provider-monogram { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; background: #e7f1ed; color: #174a45; font-size: 18px; font-weight: 800 }
.payment-provider-card h2 { margin: 1px 0 4px; font-size: 17px }
.payment-provider-card header p { margin: 0; color: #66766f; font-size: 12px; line-height: 1.45 }
.payment-status { padding: 5px 7px; border-radius: 99px; background: #eff2f0; color: #61716b; font-size: 10px; font-weight: 800; white-space: nowrap }
.payment-status.active { background: #e2f2e9; color: #217047 }
.payment-capabilities { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none }
.payment-capabilities li { padding: 5px 7px; border-radius: 6px; background: #f2f6f4; color: #52655e; font-size: 11px }
.payment-unavailable-copy { margin: 0; color: #77847f; font-size: 12px; line-height: 1.45 }
.payment-runtime-controls { display: grid; gap: 8px; padding: 11px; border: 1px solid #e1ebe6; border-radius: 10px; background: #fafcfb }
.payment-environment-selector { display: inline-flex; justify-self: start; overflow: hidden; border: 1px solid #d5e2dc; border-radius: 8px }
.payment-environment-selector button { padding: 7px 11px; border: 0; border-right: 1px solid #d5e2dc; color: #5b6b65; background: #fff; font-size: 11px; font-weight: 800; cursor: pointer }
.payment-environment-selector button:last-child { border-right: 0 }
.payment-environment-selector button.is-active { color: #fff; background: #287354 }
.payment-environment-selector button:disabled { color: #9aa8a2; background: #f0f3f1; cursor: not-allowed }
.payment-runtime-controls .muted, .payment-runtime-controls .notice { margin: 0; font-size: 11px; line-height: 1.4 }
.payment-runtime-controls .notice { padding: 7px 8px }
.payment-default-choice { display: inline-flex; align-items: center; gap: 7px; color: #485b53; font-size: 12px; font-weight: 700; cursor: pointer }
.payment-default-choice input { width: 15px; height: 15px; margin: 0 }
.payment-default-choice:has(input:disabled) { color: #88958f; cursor: not-allowed }
.payment-card-actions { display: flex; align-items: center; gap: 12px; margin-top: auto }
.payment-card-actions .btn { padding: 8px 11px; font-size: 12px }
.payment-switch { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #65756f; font-size: 11px; font-weight: 700 }
.payment-switch input { position: absolute; opacity: 0 }
.payment-switch span { position: relative; width: 34px; height: 20px; border-radius: 99px; background: #c6d0cc; transition: background .15s }
.payment-switch span::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; content: ''; transition: transform .15s }
.payment-switch input:checked + span { background: #2c745b }
.payment-switch input:checked + span::after { transform: translateX(14px) }
.payment-switch:has(input:disabled) { cursor: not-allowed; opacity: .55 }
.payment-switch:has(input:disabled) span { background: #d7dfdb }
.payment-help-card { padding: 20px; border: 1px solid #dce7e1; border-radius: 14px; background: #f3f8f5 }
.payment-help-card h2 { margin: 0 0 11px; font-size: 17px }
.payment-help-card p { margin: 0 0 13px; color: #5a6c65; font-size: 12px; line-height: 1.55 }
.payment-config-modal[hidden] { display: none }
.payment-config-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px }
.payment-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 35, 31, .46) }
.payment-modal-card { position: relative; z-index: 1; width: min(650px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 25px; border-radius: 15px; background: #fff; box-shadow: 0 25px 80px rgba(9, 31, 25, .28) }
.payment-modal-card h2 { margin: 0 35px 5px 0 }
.payment-modal-card > p { margin: 0 0 20px; color: #65756f }
.payment-modal-card form { display: grid; gap: 17px }
.payment-form-grid { gap: 16px 20px }
.payment-form-grid label { display: grid; min-width: 0; gap: 7px; font-size: 13px; font-weight: 700 }
.payment-form-grid input, .payment-form-grid select, .payment-form-grid textarea { box-sizing: border-box; width: 100%; max-width: none; margin: 0 }
.payment-form-grid textarea { min-height: 96px; resize: vertical }
.payment-modal-card .check-label { display: flex; align-items: center; gap: 9px; margin: 0; color: #53655f; font-size: 13px }
.payment-modal-card .check-label input { width: 16px; height: 16px; margin: 0 }
.payment-modal-card form .btn { justify-self: start; margin: 0 }

.paratika-settings-panel { max-width: 680px; padding: 26px }
.paratika-environment-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 14px; padding: 11px 13px; border: 1px solid #bfe0d0; border-radius: 10px; color: #245a47; background: #edf8f2; font-size: 13px }
.paratika-environment-status span { padding: 3px 7px; border-radius: 99px; color: #fff; background: #277351; font-size: 11px; font-weight: 800 }
.paratika-environment-status small { flex-basis: 100%; color: #557167 }
.paratika-environment-status.inactive { border-color: #e2d4ae; color: #765e22; background: #fff9e8 }
.environment-selector { display: inline-flex; margin-bottom: 20px; padding: 4px; border-radius: 10px; background: #edf3f0 }
.environment-selector a { padding: 9px 18px; border-radius: 7px; color: #60716b; font-size: 13px; font-weight: 800; text-decoration: none }
.environment-selector a.selected { color: #fff; background: var(--dark) }
.environment-selector em { margin-left: 4px; font-style: normal; font-size: 10px; opacity: .82 }
.paratika-settings-form { display: grid; gap: 17px; max-width: 500px; margin-top: 20px }
.paratika-settings-form > label { display: grid; gap: 7px; color: #33453e; font-size: 14px; font-weight: 700 }
.paratika-settings-form input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd8d3; border-radius: 9px; background: #fff; font: inherit }
.paratika-settings-form input:focus { outline: 3px solid rgba(20, 86, 68, .15); border-color: var(--dark) }
.paratika-settings-form small { color: #6b7974; font-size: 12px; font-weight: 500 }
.paratika-settings-form .password-field { margin-top: 0 }
.paratika-settings-form .password-field input { padding-right: 84px }
.paratika-settings-form .check-label { display: flex; align-items: center; gap: 9px; font-weight: 600 }
.paratika-settings-form .check-label input { width: 17px; min-height: 17px }

.paytr-payment-modes { display: grid; gap: 10px; margin: 0; padding: 0; border: 0 }
.paratika-settings-form .paytr-mode-option { display: flex; flex-direction: row; align-items: center; gap: 9px; min-height: 17px; color: #33453e; cursor: pointer }
.paratika-settings-form .paytr-mode-option input { width: 17px; min-width: 17px; min-height: 17px; height: 17px; margin: 0; accent-color: #277351 }
.paratika-settings-form .paytr-mode-option strong { font-size: 13px; font-weight: 600 }

/* Single-page checkout: contact, delivery, and Direct POST card payment share one compact flow. */
.checkout-layout-single {
    grid-template-columns: minmax(0, 1.58fr) minmax(320px, .72fr);
    gap: 24px
}

.checkout-flow {
    display: grid;
    gap: 16px
}

.checkout-flow > form {
    display: grid;
    gap: 16px
}

.checkout-page-single .checkout-section {
    padding: 20px 22px;
    border-radius: 14px
}

.checkout-page-single .checkout-section-heading {
    margin-bottom: 16px
}

.customer-checkout-summary-rich {
    min-height: 66px;
    padding: 13px 16px;
    gap: 14px;
    border: 1px solid #e2ece7;
    background: linear-gradient(100deg, #f1f7f4, #f8fbf9)
}

.customer-checkout-summary-rich .customer-avatar {
    width: 48px;
    height: 48px;
    font-size: 17px
}

.customer-summary-identity {
    min-width: 0
}

.customer-summary-identity strong,
.customer-summary-identity span,
.customer-summary-phone small,
.customer-summary-phone strong {
    display: block
}

.customer-summary-phone {
    min-width: 132px;
    margin-left: 8px;
    padding-left: 18px;
    border-left: 1px solid #d5e1dc
}

.customer-summary-phone small {
    margin-bottom: 3px;
    color: #73817c;
    font-size: 11px
}

.customer-summary-phone strong {
    color: #375047;
    font-size: 13px
}

.checkout-edit-button {
    margin-left: auto;
    padding: 9px 13px;
    border: 0;
    border-radius: 8px;
    color: var(--dark);
    background: #eaf3ee;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer
}

.checkout-contact-fields,
.guest-address-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 15px 18px
}

.checkout-contact-fields label,
.guest-address-grid label {
    display: grid;
    min-width: 0;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #33473f
}

.checkout-contact-fields input,
.guest-address-grid input,
.guest-address-grid textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0
}

.guest-address-grid textarea {
    min-height: 104px;
    resize: vertical
}

.checkout-saved-addresses {
    gap: 9px
}

.checkout-saved-addresses .checkout-address-card {
    min-height: 94px;
    padding: 13px 15px
}

.checkout-saved-addresses .address-card-copy {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
    column-gap: 16px
}

.checkout-saved-addresses .address-card-title,
.checkout-saved-addresses .address-card-copy > span:nth-child(2) {
    grid-column: 1
}

.checkout-saved-addresses .address-card-copy > span:nth-child(n + 3) {
    grid-column: 2
}

.checkout-saved-addresses .address-card-copy > span:nth-child(3) {
    grid-row: 1
}

.checkout-saved-addresses .address-card-copy > span:nth-child(4) {
    grid-row: 2
}

.checkout-saved-addresses .address-card-copy > span:nth-child(5) {
    grid-row: 3
}

.checkout-payment-section {
    position: relative
}

.checkout-payment-heading {
    align-items: center
}

.checkout-payment-tabs {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 3px;
    margin-left: auto;
    padding: 4px;
    border: 1px solid #d8e2dd;
    border-radius: 10px;
    background: #f3f7f5
}

.checkout-payment-tabs button {
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 7px;
    color: #5d7068;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease, background .16s ease, box-shadow .16s ease
}

.checkout-payment-tabs button:hover,
.checkout-payment-tabs button:focus-visible {
    color: var(--dark);
    outline: none
}

.checkout-payment-tabs button:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dark) 18%, transparent)
}

.checkout-payment-tabs button.is-active {
    color: #fff;
    background: var(--dark);
    box-shadow: 0 2px 5px color-mix(in srgb, var(--dark) 22%, transparent)
}

[data-payment-panel][hidden] {
    display: none
}

.checkout-card-payment {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(210px, .78fr);
    gap: 13px 20px;
    align-items: end
}

.checkout-payment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px
}

.checkout-payment-fields label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #2d403a;
    font-size: 13px;
    font-weight: 700
}

.checkout-payment-fields input {
    box-sizing: border-box;
    width: 100%;
    min-height: 45px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #cddbd5;
    border-radius: 8px;
    background: #fff;
    color: #2e423b;
    font: inherit
}

.checkout-payment-fields input:focus {
    outline: 3px solid color-mix(in srgb, var(--dark) 13%, transparent);
    border-color: var(--dark)
}

.checkout-cvv-field {
    display: flex;
    align-items: stretch
}

.checkout-cvv-field input {
    min-width: 0;
    border-radius: 8px 0 0 8px
}

.checkout-cvv-field button {
    width: 42px;
    border: 1px solid #cddbd5;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #60716b;
    background: #f6f8f7;
    font-weight: 800;
    cursor: pointer
}

.checkout-virtual-card {
    display: grid;
    min-height: 162px;
    align-content: space-between;
    padding: 16px;
    border-radius: 15px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 92% 12%, rgba(132, 192, 158, .34) 0 8%, transparent 8.5%), radial-gradient(circle at 100% 100%, rgba(78, 154, 124, .4) 0 22%, transparent 22.5%), linear-gradient(135deg, #073e39, #0e675c 68%, #0a4943);
    box-shadow: 0 12px 24px rgba(12, 64, 54, .2)
}

.virtual-card-store,
.checkout-virtual-card > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.virtual-card-store strong {
    max-width: 170px;
    overflow: hidden;
    font-family: Georgia, serif;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.virtual-card-mark {
    font-size: 20px
}

.virtual-card-chip {
    width: 31px;
    height: 23px;
    border-radius: 5px;
    background: linear-gradient(135deg, #f6d882, #b98728)
}

.virtual-card-number {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(13px, 1.3vw, 16px);
    letter-spacing: .075em;
    white-space: nowrap
}

.checkout-virtual-card > div:last-child {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .05em
}

.checkout-virtual-card > div:last-child span:first-child {
    max-width: 68%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.checkout-card-payment .secure-payment-note,
.checkout-card-payment .checkout-payment-error,
.checkout-card-payment .checkout-pay-button {
    grid-column: 1 / -1;
    margin: 0
}

.checkout-payment-error {
    padding: 9px 11px;
    border-radius: 8px;
    color: #9d302d;
    background: #fff2f1;
    font-size: 13px
}

.checkout-pay-button {
    min-height: 52px;
    font-size: 16px
}

.payment-network-logos {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 30px;
    margin-top: -4px
}

.payment-network-logos img {
    display: block;
    width: 44px;
    height: 28px;
    object-fit: contain
}

.checkout-bank-transfer {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid #dce6e1;
    border-radius: 12px;
    background: #f8fbf9
}

.checkout-bank-transfer-copy h3 {
    margin: 0 0 5px;
    color: #1d3e36;
    font-size: 16px
}

.checkout-bank-transfer-copy p,
.checkout-bank-instructions {
    margin: 0;
    color: #62746d;
    font-size: 13px;
    line-height: 1.55
}

.checkout-bank-details {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 13px;
    border-radius: 9px;
    background: #fff
}

.checkout-bank-details div {
    display: grid;
    grid-template-columns: minmax(105px, .42fr) minmax(0, 1fr);
    gap: 12px
}

.checkout-bank-details dt {
    color: #708078;
    font-size: 12px
}

.checkout-bank-details dd {
    min-width: 0;
    margin: 0;
    color: #263e36;
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere
}

.checkout-bank-transfer .checkout-submit {
    min-height: 50px
}

.checkout-summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5ebe8
}

.checkout-summary-heading h2 {
    margin: 0
}

.checkout-summary-heading span {
    color: #6a7974;
    font-size: 13px
}

.checkout-edit-cart {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border: 1px solid var(--dark);
    border-radius: 8px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none
}

.checkout-processing-overlay[hidden] {
    display: none
}

.checkout-processing-overlay {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(10, 31, 26, .58)
}

.checkout-processing-overlay > div {
    width: min(390px, 100%);
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .27)
}

.checkout-processing-overlay h2 {
    margin: 14px 0 7px;
    color: #153e37;
    font-size: 19px
}

.checkout-processing-overlay p {
    margin: 0;
    color: #62726d;
    font-size: 14px;
    line-height: 1.5
}

.checkout-spinner {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 4px solid #dbe9e2;
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: checkout-spin .8s linear infinite
}

@keyframes checkout-spin {
    to { transform: rotate(360deg) }
}

/* Storefront category navigation. The data is rendered server-side from the merchant category tree. */
.category-navigation {
    margin: 0 0 18px
}

.category-navigation .nav-categories {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 0;
    padding: 5px 11px;
    border: 1px solid color-mix(in srgb, var(--store-menu-text, #263432) 15%, var(--store-menu-bg, #fbfaf6));
    border-radius: 14px;
    background: var(--store-menu-bg, #fbfaf6);
    color: var(--store-menu-text, var(--store-text, #263432));
    font-size: 13px;
    font-weight: 700
}

.category-navigation .nav-category-list {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    align-items: stretch
}

.category-navigation .nav-category {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
    padding: 0 16px
}

.category-navigation .nav-category + .nav-category::before {
    width: 1px;
    height: 21px;
    margin-right: 12px;
    background: color-mix(in srgb, var(--store-menu-text, #263432) 20%, transparent);
    content: ''
}

.category-navigation .nav-category > a {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap
}

.category-navigation .nav-category > a:hover,
.category-navigation .nav-category > a:focus-visible {
    color: var(--store-menu-text, var(--store-text, #263432));
    border-radius: 6px;
    background: color-mix(in srgb, var(--store-menu-text, #263432) 10%, var(--store-menu-bg, #fbfaf6));
    outline: none
}

.category-navigation .nav-drop-toggle {
    display: grid;
    width: 24px;
    height: 28px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: inherit;
    background: transparent;
    cursor: pointer
}

.category-navigation .nav-cart {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 0 12px 0 16px;
    border-left: 1px solid color-mix(in srgb, var(--store-menu-text, #263432) 20%, transparent);
    color: inherit;
    font: inherit;
    text-decoration: none;
    white-space: nowrap
}

.category-navigation .nav-cart svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55
}

.category-navigation .nav-cart:hover,
.category-navigation .nav-cart:focus-visible {
    border-radius: 8px;
    color: var(--store-menu-text, var(--store-text, #263432));
    background: color-mix(in srgb, var(--store-menu-text, #263432) 10%, var(--store-menu-bg, #fbfaf6));
    outline: none
}

.category-navigation .nav-drop-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .18s ease
}

.category-navigation .nav-drop-toggle path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45
}

.category-navigation .nav-drop-toggle:focus-visible {
    outline: 2px solid var(--store-primary, var(--dark));
    outline-offset: 2px
}

.category-navigation .nav-category.open .nav-drop-toggle svg {
    transform: rotate(180deg)
}

.category-navigation .nav-dropdown {
    position: absolute;
    z-index: 100;
    top: calc(100% - 1px);
    left: 6px;
    display: none;
    min-width: 192px;
    padding: 7px;
    border: 1px solid color-mix(in srgb, var(--store-menu-text, #263432) 15%, var(--store-menu-bg, #fbfaf6));
    border-radius: 11px;
    background: var(--store-menu-bg, #fff);
    box-shadow: 0 14px 32px rgba(21, 47, 41, .13)
}

.category-navigation .nav-category:hover .nav-dropdown,
.category-navigation .nav-category:focus-within .nav-dropdown,
.category-navigation .nav-category.open .nav-dropdown {
    display: grid
}

.category-navigation .nav-dropdown a {
    padding: 10px 11px;
    border-radius: 7px;
    color: var(--store-menu-text, var(--store-text, #263432));
    font-size: 13px;
    font-weight: 600;
    text-decoration: none
}

.category-navigation .nav-dropdown a:hover,
.category-navigation .nav-dropdown a:focus-visible {
    outline: none;
    color: var(--store-menu-text, var(--store-text, #263432));
    background: color-mix(in srgb, var(--store-menu-text, #263432) 10%, var(--store-menu-bg, #fff))
}

@media (max-width: 980px) {
    .category-navigation .nav-category-list {
        overflow-x: auto;
        scrollbar-width: thin
    }

    .category-navigation .nav-category {
        flex: 0 0 auto;
        padding-inline: 13px
    }
}

@media (max-width: 720px) {
    .category-navigation {
        margin-bottom: 12px
    }

    .category-navigation .nav-categories {
        min-height: 48px;
        flex-wrap: wrap;
        overflow: visible;
        padding: 4px 7px;
        border-radius: 10px
    }

    .category-navigation .nav-category-list {
        flex-basis: 100%;
        flex-wrap: wrap;
        overflow: visible
    }

    .category-navigation .nav-category {
        min-height: 39px;
        padding-inline: 9px
    }

    .category-navigation .nav-category + .nav-category::before {
        height: 17px;
        margin-right: 8px
    }

    .category-navigation .nav-dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 4px 0 7px;
        box-shadow: none
    }

    .category-navigation .nav-category {
        flex-wrap: wrap
    }

    .category-navigation .nav-dropdown {
        flex-basis: 100%
    }

    .category-navigation .nav-cart {
        min-height: 38px;
        margin: 1px 3px 3px auto;
        padding: 0 9px 0 11px;
        border-left: 0
    }

    .category-navigation .nav-cart svg {
        width: 20px;
        height: 20px;
        flex-basis: 20px
    }
}

@media (max-width: 860px) {
    .checkout-layout-single {
        grid-template-columns: 1fr
    }

    .checkout-summary-modern {
        position: static
    }
}

@media (max-width: 620px) {
    .checkout-page-single .checkout-section {
        padding: 17px
    }

    .checkout-payment-heading {
        flex-wrap: wrap
    }

    .checkout-payment-tabs {
        width: 100%;
        margin-left: 39px
    }

    .checkout-payment-tabs button {
        flex: 1 1 0;
        padding-inline: 8px
    }

    .customer-checkout-summary-rich {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto
    }

    .customer-summary-phone {
        grid-column: 2 / 4;
        margin: 0;
        padding: 9px 0 0;
        border-top: 1px solid #d5e1dc;
        border-left: 0
    }

    .checkout-saved-addresses .address-card-copy {
        display: block
    }

    .checkout-card-payment {
        grid-template-columns: 1fr
    }

    .checkout-virtual-card {
        min-height: 146px
    }

    .checkout-bank-details div {
        grid-template-columns: 1fr;
        gap: 2px
    }
}

@media (max-width: 720px) {
    .checkout-layout-modern { grid-template-columns: 1fr }
    .checkout-summary-modern { position: static }
    .checkout-section { padding: 18px }
    .checkout-address-card { grid-template-columns: 18px minmax(0, 1fr) }
    .address-card-actions { grid-column: 2; justify-content: flex-start }
    .demo-payment-card { grid-template-columns: 1fr }
    .payment-admin-layout { grid-template-columns: 1fr }
    .payment-provider-grid { grid-template-columns: 1fr }
}

@media (max-width: 720px) {
    .auth-page {
        min-height: auto;
        padding: 25px 0
    }

    .auth-form {
        padding: 35px 24px
    }

    .auth-single {
        padding: 25px 0
    }

    .account-layout {
        grid-template-columns:1fr;
        gap: 20px;
        padding-top: 25px
    }

    .account-nav {
        grid-template-columns:repeat(2, 1fr)
    }

    .account-cards {
        grid-template-columns:1fr
    }

    .order-row {
        grid-template-columns:1fr 1fr
    }

    .account-order-row {
        grid-template-columns: 1fr 1fr
    }

    .customer-links {
        gap: 7px
    }

    .header-actions {
        flex-wrap: wrap
    }
}

/* Dashboard: SSR shell with independently loaded widgets. */
.dashboard-main {
    display: block
}

.dashboard-heading {
    margin-bottom: 20px
}

.dashboard-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.dashboard-period-chip {
    border: 1px solid #e1e8e4;
    background: #fff;
    color: #40564f;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px
}

.dashboard-card {
    background: #fff;
    border: 1px solid #e9eeea;
    border-radius: 14px;
    box-shadow: 0 4px 20px #152f2c08;
    padding: 20px;
    min-width: 0
}

.dashboard-kpi {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    min-height: 116px
}

.dashboard-kpi-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eaf5ef;
    color: #1f7355
}

.dashboard-kpi-icon-alert {
    background: #fdeeea;
    color: #c4553f
}

.dashboard-kpi-icon svg {
    width: 21px;
    height: 21px
}

.dashboard-kpi-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0
}

.dashboard-kpi-label {
    font-size: 12px;
    font-weight: 700;
    color: #63716e;
    letter-spacing: .01em
}

.dashboard-kpi-value {
    font: 700 27px/1.15 'DM Sans', Arial, sans-serif;
    color: #17332e;
    letter-spacing: -.02em;
    min-height: 32px;
    display: block;
    overflow-wrap: anywhere
}

.dashboard-kpi-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #7c8b86;
    line-height: 1.4
}

.dashboard-delta {
    font-weight: 700;
    white-space: nowrap
}

.dashboard-delta.is-up {
    color: #1f8a5f
}

.dashboard-delta.is-down {
    color: #c4553f
}

.dashboard-row {
    display: grid;
    gap: 16px;
    margin-bottom: 18px
}

.dashboard-row-main {
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr)
}

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

.dashboard-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.dashboard-card-head h2 {
    font: 22px/1.2 'Playfair Display', Georgia, serif;
    color: #13322c;
    margin: 0
}

.dashboard-card-head a,
.dashboard-card-head .muted {
    font-size: 11px;
    color: #6d7f78;
    font-weight: 600
}

.dashboard-card-head a:hover {
    color: #123737
}

.dashboard-segmented {
    max-width: 260px;
    margin: 0
}

.dashboard-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #6d7f78;
    font-weight: 600;
    margin-bottom: 6px
}

.dashboard-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px
}

.dashboard-legend-bar {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: #a8d5c3;
    display: inline-block
}

.dashboard-legend-line {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #245b48;
    display: inline-block;
    position: relative
}

.dashboard-legend-line::after {
    content: '';
    position: absolute;
    left: 6px;
    top: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #245b48
}

.dashboard-chart {
    position: relative;
    min-height: 300px
}

.dashboard-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible
}

.dashboard-grid-line {
    stroke: #eef2ef;
    stroke-width: 1
}

.dashboard-axis-text {
    fill: #8a9a94;
    font-size: 10px;
    font-family: 'DM Sans', Arial, sans-serif
}

.dashboard-axis-label {
    font-size: 10.5px
}

.dashboard-bar {
    fill: #a5d3c0
}

.dashboard-bar:hover {
    fill: #7fc0a7
}

.dashboard-line {
    fill: none;
    stroke: #245b48;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round
}

.dashboard-dot {
    fill: #fff;
    stroke: #245b48;
    stroke-width: 2
}

.dashboard-hit {
    fill: transparent;
    cursor: pointer
}

.dashboard-tooltip {
    position: absolute;
    transform: translate(-50%, -100%);
    background: #123737;
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 11px;
    line-height: 1.6;
    display: grid;
    gap: 1px;
    pointer-events: none;
    box-shadow: 0 10px 26px #12373740;
    z-index: 5;
    white-space: nowrap
}

.dashboard-tooltip strong {
    font-size: 11px;
    color: #cfe6dc;
    margin-bottom: 2px
}

.dashboard-donut {
    display: grid;
    gap: 14px
}

.dashboard-donut-chart {
    display: grid;
    place-items: center
}

.dashboard-donut-chart svg {
    width: 100%;
    max-width: 190px;
    height: auto
}

.dashboard-donut-track {
    fill: none;
    stroke: #f0f4f1;
    stroke-width: 18
}

.dashboard-donut-slice {
    fill: none;
    stroke-width: 18;
    stroke-linecap: butt
}

.dashboard-donut-total {
    font: 700 26px 'DM Sans', Arial, sans-serif;
    fill: #17332e
}

.dashboard-donut-caption {
    font: 10px 'DM Sans', Arial, sans-serif;
    fill: #7c8b86;
    letter-spacing: .08em;
    text-transform: uppercase
}

.dashboard-donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px
}

.dashboard-donut-legend li {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #4d635c
}

.dashboard-donut-legend i {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.dashboard-donut-legend strong {
    font-size: 12px;
    color: #17332e
}

.dashboard-donut-legend em {
    font-style: normal;
    color: #8a9a94;
    min-width: 42px;
    text-align: right
}

.dashboard-widget-body {
    min-height: 210px
}

.dashboard-product-row {
    display: grid;
    grid-template-columns: 20px 40px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f2
}

.dashboard-product-row:last-child {
    border-bottom: 0
}

.dashboard-rank {
    color: #93a49d;
    font-size: 11px;
    font-weight: 700;
    text-align: center
}

.dashboard-thumb {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
    background: #f4f7f5
}

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

.dashboard-product-copy strong {
    display: block;
    font-size: 12px;
    color: #17332e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dashboard-product-copy small {
    display: block;
    font-size: 10px;
    color: #8a9a94;
    margin-top: 2px
}

.dashboard-metric {
    text-align: right;
    white-space: nowrap
}

.dashboard-metric strong {
    display: block;
    font-size: 12px;
    color: #17332e
}

.dashboard-metric small {
    display: block;
    font-size: 9.5px;
    color: #8a9a94
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px
}

.dashboard-table th {
    text-align: left;
    color: #8a9a94;
    font-size: 9.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 4px 8px 8px 0;
    font-weight: 700
}

.dashboard-table td {
    padding: 8px 8px 8px 0;
    border-top: 1px solid #f1f5f2;
    color: #40564f;
    vertical-align: top
}

.dashboard-table td small {
    display: block;
    font-size: 9.5px;
    color: #93a49d;
    margin-top: 2px
}

.dashboard-table a {
    color: #123737;
    font-weight: 700
}

.dashboard-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    background: #eef4f0;
    color: #3c5a50;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.dashboard-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f2;
    color: inherit
}

.dashboard-stock-row:last-child {
    border-bottom: 0
}

.dashboard-stock-row div {
    min-width: 0
}

.dashboard-stock-row strong {
    display: block;
    font-size: 12px;
    color: #17332e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dashboard-stock-row small {
    display: block;
    font-size: 10px;
    color: #8a9a94;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dashboard-badge {
    flex: none;
    padding: 4px 10px;
    border-radius: 20px;
    background: #fdf1e7;
    color: #a9632a;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap
}

.dashboard-badge.is-empty {
    background: #fde9e6;
    color: #b3412f
}

.dashboard-empty {
    color: #7c8b86;
    font-size: 12px;
    line-height: 1.7;
    margin: 6px 0
}

.dashboard-visitors .dashboard-empty {
    max-width: 720px
}

.dashboard-error {
    color: #a9432f;
    font-size: 11.5px;
    margin: 8px 0 0
}

.dashboard-retry {
    border: 0;
    background: transparent;
    color: #123737;
    font-weight: 700;
    font-size: 11.5px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin: 0
}

.dashboard-skeleton {
    display: block;
    border-radius: 8px;
    background: linear-gradient(90deg, #eef2ef 25%, #f8fbf9 37%, #eef2ef 63%);
    background-size: 400% 100%;
    animation: dashboard-shimmer 1.4s ease infinite
}

.dashboard-skeleton-value {
    width: 128px;
    height: 26px;
    margin: 3px 0
}

.dashboard-skeleton-chart {
    width: 100%;
    height: 300px;
    border-radius: 12px
}

.dashboard-skeleton-donut {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: 4px auto
}

.dashboard-skeleton-list {
    width: 100%;
    height: 210px;
    border-radius: 12px
}

@keyframes dashboard-shimmer {
    0% {
        background-position: 100% 0
    }
    100% {
        background-position: 0 0
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-skeleton {
        animation: none
    }
}

@media (max-width: 1180px) {
    .dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .dashboard-row-main, .dashboard-row-three {
        grid-template-columns: minmax(0, 1fr)
    }
}

@media (max-width: 720px) {
    .dashboard-kpis {
        grid-template-columns: minmax(0, 1fr)
    }

    .dashboard-card {
        padding: 16px
    }

    .dashboard-kpi {
        min-height: 0
    }

    .dashboard-product-row {
        grid-template-columns: 18px 36px minmax(0, 1fr) auto
    }

    .dashboard-product-row .dashboard-metric:last-child {
        display: none
    }

    .dashboard-toolbar {
        width: 100%
    }
}

@media (max-width: 900px) {
    .checkout-contact-fields,
    .guest-address-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 620px) {
    .checkout-contact-fields,
    .guest-address-grid {
        grid-template-columns:minmax(0, 1fr)
    }
}

/* Admin order list */
.orders-panel {
    padding: 0;
    overflow: hidden
}

.orders-filter-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 20px 23px;
    border-bottom: 1px solid #e9eeea;
    background: linear-gradient(180deg, #fcfdfc 0%, #fff 100%)
}

.orders-filter-bar > div:first-child {
    flex: 1 1 300px;
    min-width: 0
}

.orders-filter-bar h2 {
    margin: 0 0 5px;
    color: #1d3933;
    font: 23px 'Playfair Display', serif
}

.orders-filter-bar .muted {
    margin: 0;
    color: #71807b;
    font-size: 12px
}

.orders-toolbar {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 14px;
    min-width: 0;
    margin-left: auto
}

.orders-live-search {
    display: grid;
    gap: 7px;
    min-width: 230px;
    color: #52645e;
    font-size: 11px;
    font-weight: 700
}

.orders-live-search input {
    width: 100%;
    height: 38px;
    border: 1px solid #d9e3dd;
    border-radius: 9px;
    background: #fff;
    color: #29413a;
    padding: 0 11px;
    font: inherit;
    font-size: 13px
}

.orders-live-search input:focus {
    outline: 3px solid rgba(18, 55, 55, .14);
    border-color: #123737
}

.orders-status-filter {
    display: grid;
    gap: 7px;
    min-width: min(100%, 300px)
}

.orders-status-filter label {
    color: #52645e;
    font-size: 11px;
    font-weight: 700
}

.orders-filter-controls {
    display: flex;
    align-items: center;
    gap: 8px
}

.orders-filter-controls select {
    flex: 1 1 190px;
    min-width: 0;
    height: 38px;
    border: 1px solid #d9e3dd;
    border-radius: 9px;
    background: #fff;
    color: #29413a;
    padding: 0 34px 0 11px;
    font: inherit
}

.orders-filter-controls .btn {
    min-height: 38px;
    padding: 0 13px;
    white-space: nowrap
}

.orders-filter-reset {
    color: #59716a;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap
}

.orders-export {
    min-height: 38px;
    margin-left: auto;
    white-space: nowrap;
    align-self: end
}

.orders-export svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.orders-panel .table-scroll {
    padding: 0 23px
}

.orders-panel .empty-state {
    margin: 0;
    padding: 25px 23px;
    color: #74827e
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 190px;
    min-height: 29px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal
}

.order-status-badge::before {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: currentColor;
    content: ''
}

.order-status-badge[data-order-status="Ödeme Bekliyor"] {
    border-color: #f0d79f;
    background: #fff5df;
    color: #966714
}

.order-status-badge[data-order-status="Ödeme Başarısız"] {
    border-color: #f2c8bf;
    background: #fdefec;
    color: #aa402c
}

.order-status-badge[data-order-status="Stok Kontrolü Bekliyor"] {
    border-color: #ddc6ee;
    background: #f7effc;
    color: #77439b
}

.order-status-badge[data-order-status="Hazırlanıyor"] {
    border-color: #c7daf4;
    background: #edf5ff;
    color: #2866ac
}

.order-status-badge[data-order-status="Kargolandı"] {
    border-color: #b9e4dc;
    background: #e9f8f4;
    color: #18786e
}

.order-status-badge[data-order-status="Teslim Edildi"] {
    border-color: #bce3c9;
    background: #ecf8f0;
    color: #28764a
}

.order-status-badge[data-order-status="İptal Edildi"] {
    border-color: #efc8c8;
    background: #fceced;
    color: #a53943
}

@media (max-width: 720px) {
    .orders-filter-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding: 18px
    }

    .orders-status-filter {
        width: 100%
    }

    /* The bar becomes a column here, so the title must not keep its 300px row flex-basis. */
    .orders-filter-bar > div:first-child {
        flex: 0 0 auto
    }

    .orders-toolbar {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px
    }

    .orders-live-search {
        width: 100%
    }

    .orders-export {
        width: 100%;
        justify-content: center;
        margin-left: 0
    }

    .orders-panel .table-scroll {
        padding: 0 18px
    }

    .orders-panel .empty-state {
        padding: 22px 18px
    }
}

@media (max-width: 430px) {
    .orders-filter-controls {
        flex-wrap: wrap
    }

    .orders-filter-controls select {
        flex-basis: 100%
    }
}

/* Compact desktop layout keeps the full menu usable at normal browser zoom. */
@media (min-width: 961px) and (max-width: 1440px) {
    .admin-body .admin-shell {
        grid-template-columns: 248px minmax(0, 1fr)
    }

    .admin-body .admin-main {
        padding: 0 24px 32px
    }

    .admin-body .admin-top {
        margin-inline: -24px;
        padding-inline: 24px
    }
}

@media (min-width: 961px) and (max-height: 900px) {
    .admin-body .sidebar {
        height: 100dvh;
        padding: 12px 12px
    }

    .admin-body .sidebar .admin-logo {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: 64px;
        gap: 9px;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 11px
    }

    .admin-body .sidebar .admin-brand-mark {
        width: 42px;
        min-width: 42px;
        height: 42px
    }

    .admin-body .sidebar .admin-brand-copy strong {
        font-size: 13px
    }

    .admin-body .sidebar .admin-brand-copy small {
        font-size: 9px
    }

    .admin-body .sidebar .admin-brand-copy em {
        margin-top: 1px;
        font-size: 8px
    }

    .admin-body .sidebar .admin-session {
        padding: 6px 8px;
        margin-bottom: 8px
    }

    .admin-body .sidebar .admin-navigation {
        gap: 9px
    }

    .admin-body .sidebar .admin-nav-group {
        gap: 2px;
        padding-bottom: 9px
    }

    .admin-body .sidebar .admin-nav-group:last-child {
        padding-bottom: 0
    }

    .admin-body .sidebar .nav-heading {
        margin-bottom: 3px;
        padding-inline: 9px;
        font-size: 9px;
        line-height: 12px
    }

    .admin-body .sidebar .admin-nav-link,
    .admin-body .sidebar .side-logout {
        min-height: 32px;
        gap: 9px;
        padding: 6px 9px;
        border-radius: 9px;
        font-size: 12px
    }

    .admin-body .sidebar .admin-nav-link svg {
        width: 18px;
        height: 18px
    }

    .admin-body .sidebar .sidebar-credit {
        padding: 9px 8px 0;
        font-size: 9px;
        line-height: 1.4
    }

    .admin-body .admin-top {
        height: 64px;
        font-size: 13px
    }

    .admin-body .admin-heading {
        margin: 14px 0 18px;
        gap: 16px
    }

    .admin-body .admin-heading h1 {
        margin-bottom: 8px;
        font-size: 32px
    }

    .admin-body .admin-heading p {
        margin-bottom: 0;
        font-size: 13px
    }
}

/* Responsive admin sidebar drawer */
@media (max-width: 960px) {
    .admin-shell {
        display: block
    }

    .sidebar {
        position: fixed;
        left: 0;
        width: min(86vw, 300px);
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 14px 0 38px #08231f33
    }

    .admin-body.admin-menu-open {
        overflow: hidden
    }

    .admin-body.admin-menu-open .sidebar {
        transform: translateX(0)
    }

    .admin-sidebar-backdrop {
        position: fixed;
        z-index: 25;
        inset: 0;
        border: 0;
        background: #06201c80;
        cursor: pointer
    }

    .admin-body.admin-menu-open .admin-sidebar-backdrop {
        display: block
    }

    .admin-menu-toggle {
        display: inline-grid;
        flex: none
    }

    .admin-top {
        justify-content: flex-start;
        gap: 12px
    }

    .admin-top-context {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .admin-top-actions {
        margin-left: auto
    }

    .admin-top-user-copy {
        display: none
    }

    .admin-top-user {
        padding-left: 8px
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: min(90vw, 320px);
        padding: 15px 12px
    }

    .admin-top-actions > .btn {
        padding-inline: 10px;
        font-size: 11px
    }
}
.browser-local-datetime {
    white-space: nowrap;
}

/* Admin RBAC: signed-in user chip, users table and password screens. */
.admin-session {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    margin: 0 2px 6px;
    padding: 8px 9px;
    border: 1px solid #e6eee9;
    border-radius: 10px;
    background: #f7faf8;
    min-width: 0
}

.admin-session-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: #123737;
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.admin-session-copy {
    display: grid;
    min-width: 0
}

.admin-session-copy strong {
    font-size: 12px;
    color: #17332e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin-session-copy small {
    font-size: 10px;
    color: #7c8b86
}

.admin-badge {
    display: inline-block;
    margin-right: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #1237370f;
    color: #123737;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .12em;
    vertical-align: 1px
}

.users-panel {
    padding: 0;
    overflow: hidden
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px
}

.users-table th {
    text-align: left;
    padding: 14px 16px;
    color: #7c8b86;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    background: #fbfcfb;
    border-bottom: 1px solid #e9eeea
}

.users-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f2;
    color: #40564f;
    vertical-align: middle
}

.users-table tbody tr:last-child td {
    border-bottom: 0
}

.users-table strong {
    color: #17332e
}

.users-table small.block {
    color: #93a49d;
    font-size: 10px
}

.admin-role-badge,
.users-table .role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef4f0;
    color: #33564b;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap
}

.users-table .role-badge[data-role="OWNER"] {
    background: #123737;
    color: #fff
}

.users-table .role-badge[data-role="ADMIN"] {
    background: #e3f0ea;
    color: #1d5c46
}

.admin-status-badge,
.users-table .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700
}

.users-table .status-badge.is-active {
    background: #e6f4ec;
    color: #1f7a4f
}

.users-table .status-badge.is-passive {
    background: #f6ece8;
    color: #a1503c
}

.admin-user-actions,
.users-table .user-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap
}

.admin-user-actions form,
.users-table .user-actions form {
    margin: 0
}

.btn.btn-small {
    padding: 7px 11px;
    min-height: 0;
    font-size: 11.5px;
    white-space: nowrap
}

.setup-link-card {
    padding: 20px 22px;
    margin-bottom: 18px;
    border: 1px solid #d6e7df;
    background: linear-gradient(180deg, #f7fcf9, #fff)
}

.setup-link-card h2 {
    margin: 0 0 6px;
    font: 20px 'Playfair Display', Georgia, serif;
    color: #123737
}

.setup-link {
    display: block;
    margin: 10px 0 8px;
    padding: 11px 13px;
    border: 1px dashed #b9d3c7;
    border-radius: 10px;
    background: #fff;
    color: #123737;
    font-size: 12px;
    word-break: break-all
}

.setup-link-card .small {
    font-size: 11px
}

.users-form {
    max-width: 900px;
    padding: 22px
}

.users-form .form-grid {
    gap: 16px 20px
}

.users-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #33473f
}

.users-form label small {
    font-weight: 500;
    color: #7c8b86;
    font-size: 11px
}

.users-form input,
.users-form select {
    width: 100%;
    height: 42px;
    border: 1px solid #d9e3dd;
    border-radius: 9px;
    background: #fff;
    color: #29413a;
    padding: 0 11px;
    font: inherit
}

.users-form .users-enabled .check-line {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    font-weight: 600
}

.users-form .users-enabled input {
    width: 18px;
    height: 18px
}

.users-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px
}

.password-panel {
    max-width: 560px;
    padding: 22px
}

.password-form {
    display: grid;
    gap: 15px
}

.password-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #33473f
}

.password-form label small {
    font-weight: 500;
    color: #7c8b86;
    font-size: 11px
}

@media (max-width: 900px) {
    .users-table {
        font-size: 12px
    }

    .users-table th,
    .users-table td {
        padding: 11px 12px
    }
}

/* Shipping settings: carriers table, free-shipping card and a live customer preview. */
.shipping-form {
    display: block
}

.shipping-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
    gap: 18px;
    align-items: start
}

.shipping-main,
.shipping-side {
    display: grid;
    gap: 18px;
    min-width: 0
}

.shipping-panel {
    padding: 20px 22px
}

.shipping-panel .table-scroll {
    width: 100%;
    overflow-x: auto
}

.shipping-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 12.5px;
    white-space: normal
}

/* Keep the shipping screen compact enough for a standard admin viewport. */
.admin-shipping-page .admin-main {
    padding-bottom: 24px
}

.admin-shipping-page .admin-heading {
    margin: 8px 0 16px
}

.admin-shipping-page .admin-heading h1 {
    margin-bottom: 4px;
    font-size: 29px
}

.admin-shipping-page .shipping-layout,
.admin-shipping-page .shipping-main,
.admin-shipping-page .shipping-side {
    gap: 14px
}

.admin-shipping-page .shipping-panel {
    padding: 16px 18px
}

.admin-shipping-page .shipping-panel .panel-head {
    margin-bottom: 14px
}

.admin-shipping-page .shipping-panel .panel-head h2 {
    font-size: 19px
}

.admin-shipping-page .shipping-preview-card h2 {
    margin-bottom: 4px;
    font-size: 18px
}

.admin-shipping-page .shipping-preview {
    gap: 7px;
    margin-top: 10px;
    padding: 11px
}

.admin-shipping-page .shipping-progress {
    margin-top: 10px
}

.admin-shipping-page .shipping-threshold {
    margin-top: 10px
}

.admin-shipping-page .shipping-threshold input {
    height: 38px
}

.admin-shipping-page .save-bar {
    padding: 16px 18px
}

.admin-shipping-page .shipping-save-button:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none
}

.shipping-carrier-name-column {
    width: auto
}

.shipping-default-column {
    width: 86px
}

.shipping-fee-column {
    width: 132px
}

.shipping-status-column {
    width: 82px
}

.shipping-actions-column {
    width: 42px
}

.shipping-table th {
    text-align: left;
    padding: 7px 8px 8px 0;
    color: #7c8b86;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid #eef2ef
}

.shipping-table th:nth-child(2),
.shipping-table th:nth-child(4),
.shipping-table th:nth-child(5) {
    text-align: center
}

.shipping-table th:first-child,
.shipping-table td:first-child {
    padding-left: 3px
}

.shipping-table td {
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid #f1f5f2;
    vertical-align: middle
}

.shipping-table .shipping-carrier-name {
    padding-right: 14px
}

.shipping-table .shipping-fee {
    padding-right: 14px
}

.shipping-table .shipping-status,
.shipping-table .shipping-actions {
    text-align: center
}

.shipping-table tr:last-child td {
    border-bottom: 0
}

.shipping-table input[type="text"],
.shipping-table input[type="number"],
.shipping-table input:not([type]) {
    width: 100%;
    height: 38px;
    border: 1px solid #d9e3dd;
    border-radius: 9px;
    padding: 0 10px;
    font: inherit;
    color: #29413a;
    background: #fff;
    box-sizing: border-box
}

.shipping-table .shipping-carrier-name input:focus {
    outline: 2px solid #6b9d97;
    outline-offset: -2px
}

.shipping-table .shipping-default {
    text-align: center
}

.shipping-table input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #123737
}

.shipping-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #123737
}

.shipping-table .switch-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: #33564b;
    white-space: nowrap
}

.shipping-table .chip-button.icon-button {
    width: 34px;
    height: 32px
}

/* Carrier table: the colgroup is the single sizing source for headings and rows. */
.shipping-panel .shipping-carriers-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto
}

.shipping-panel .shipping-carriers-table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed
}

.shipping-carriers-table .shipping-carrier-name-column {
    width: auto
}

.shipping-carriers-table .shipping-default-column {
    width: 78px
}

.shipping-carriers-table .shipping-fee-column {
    width: 132px
}

.shipping-carriers-table .shipping-status-column {
    width: 82px
}

.shipping-carriers-table .shipping-actions-column {
    width: 66px
}

.shipping-carriers-table th,
.shipping-carriers-table td {
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere
}

.shipping-carriers-table th {
    padding: 7px 8px 8px;
    line-height: 1.3;
    white-space: normal
}

.shipping-carriers-table td {
    padding: 10px 8px
}

.shipping-carriers-table th:first-child,
.shipping-carriers-table td:first-child {
    padding-left: 0
}

.shipping-carriers-table .shipping-carrier-name,
.shipping-carriers-table .shipping-fee {
    padding-right: 12px
}

.shipping-carriers-table .shipping-actions {
    padding-right: 8px
}

.shipping-hint {
    margin: 12px 0 0;
    font-size: 11.5px
}

.shipping-empty {
    margin: 14px 0 0
}

.shipping-toggle {
    margin: 4px 0 6px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    color: #29413a
}

.shipping-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #123737
}

.shipping-threshold {
    display: grid;
    gap: 7px;
    margin: 14px 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: #33473f;
    max-width: 320px
}

.shipping-threshold input {
    height: 42px;
    border: 1px solid #d9e3dd;
    border-radius: 9px;
    padding: 0 11px;
    font: inherit;
    color: #29413a;
    background: #fff
}

.shipping-preview-card h2 {
    margin: 0 0 6px;
    font: 20px 'Playfair Display', Georgia, serif;
    color: #123737
}

.shipping-preview {
    display: grid;
    gap: 9px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e6eee9;
    border-radius: 12px;
    background: #fbfdfc
}

.shipping-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    color: #52645e
}

.shipping-preview-row strong {
    color: #17332e
}

.shipping-preview-row .is-discount {
    color: #1f7a4f
}

.shipping-preview-total {
    padding-top: 10px;
    border-top: 1px solid #e6eee9;
    font-size: 14px;
    font-weight: 700;
    color: #17332e
}

.shipping-progress {
    margin-top: 14px;
    font-size: 11.5px;
    color: #52645e
}

.shipping-progress label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700
}

.shipping-progress-track {
    height: 8px;
    border-radius: 99px;
    background: #e8efeb;
    overflow: hidden
}

.shipping-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: #1f7a4f;
    transition: width .18s ease
}

.shipping-progress-values {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 10.5px;
    color: #7c8b86
}

.shipping-preview-card .muted {
    font-size: 11.5px;
    line-height: 1.7
}

@media (max-width: 1100px) {
    .shipping-layout {
        grid-template-columns: minmax(0, 1fr)
    }
}

@media (max-width: 720px) {
    .shipping-panel {
        padding: 16px
    }

    .shipping-table th,
    .shipping-table td {
        padding-right: 6px
    }

    .shipping-default-column {
        width: 70px
    }

    .shipping-fee-column {
        width: 112px
    }

    .shipping-status-column {
        width: 68px
    }

    .shipping-panel .shipping-carriers-table {
        min-width: 620px
    }

    .shipping-carriers-table .shipping-default-column {
        width: 78px
    }

    .shipping-carriers-table .shipping-fee-column {
        width: 122px
    }

    .shipping-carriers-table .shipping-status-column {
        width: 82px
    }

    .shipping-carriers-table .shipping-actions-column {
        width: 66px
    }
}

/* Collapsible shipping information inside the product editor. */
.shipping-info summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    font: 20px 'Playfair Display', Georgia, serif;
    color: #123737
}

.shipping-info summary::-webkit-details-marker {
    display: none
}

.shipping-info summary small {
    font: 11.5px 'DM Sans', Arial, sans-serif;
    color: #7c8b86;
    font-weight: 500
}

.shipping-info summary::after {
    content: '▾';
    margin-left: auto;
    color: #7c8b86;
    transition: transform .15s ease
}

.shipping-info[open] summary::after {
    transform: rotate(180deg)
}

.shipping-info-body {
    margin-top: 14px;
    display: grid;
    gap: 8px
}

.shipping-info-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    color: #29413a
}

.shipping-info-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #123737
}

/* Free-shipping progress remains visible in the order summary. */
.summary-free-hint {
    margin: 9px 0 0;
    font-size: 11.5px;
    color: #7c8b86
}

.summary-free-hint {
    margin: 2px 0 10px
}
