:root {
    --teal: #0f625e;
    --teal-dark: #073f3c;
    --teal-deep: #052f2d;
    --teal-soft: #c9f3e9;
    --cream: #e2fbf6;
    --cream-2: #d3f8f0;
    --mint-glass: rgba(226, 251, 246, .94);
    --orange: #ff7a1a;
    --orange-dark: #de5f08;
    --ink: #123331;
    --muted: #667b78;
    --line: rgba(15, 98, 94, .16);
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 63, 60, .12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
}

.internal-body {
    background:
        linear-gradient(180deg, rgba(201, 243, 233, .78), rgba(226, 251, 246, 1) 360px),
        var(--cream);
}

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

button,
input,
select,
textarea {
    max-width: 100%;
}

img {
    display: block;
    max-width: 100%;
}

/* CORRECTION LARGEUR */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: clamp(18px, 3vw, 42px);
    padding-right: clamp(18px, 3vw, 42px);
}

.site-header,
.hero,
.section,
.site-footer {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(226, 251, 246, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.internal-body .site-header {
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 32px rgba(7, 63, 60, .08);
}

.internal-body .section {
    padding-top: clamp(26px, 4vw, 44px);
}

.internal-body h1 {
    max-width: 760px;
    font-size: clamp(36px, 5vw, 64px);
}

.internal-top-nav a {
    color: var(--teal-dark);
}

.internal-actions .currency {
    background: rgba(201, 243, 233, .62);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-weight: 950;
    letter-spacing: 0;
    color: var(--teal-dark);
    white-space: nowrap;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 22px rgba(7, 63, 60, .24);
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 800;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
}

.currency,
.cart-pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--teal);
    background: rgba(255, 255, 255, .62);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    min-width: 0;
}

.cart-box {
    position: relative;
    min-width: 0;
}

.cart-pill {
    cursor: pointer;
    font: inherit;
}

.cart-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 32px));
    display: none;
    z-index: 40;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cart-menu.is-open {
    display: grid;
    gap: 12px;
}

.cart-menu p {
    margin: 0;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--teal);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
    min-width: 0;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 98, 94, .18);
}

.btn-orange {
    background: var(--orange);
}

.btn-orange:hover {
    background: var(--orange-dark);
}

.btn-soft {
    background: rgba(15, 98, 94, .10);
    color: var(--teal-dark);
}

.btn-light {
    background: var(--white);
    color: var(--teal-dark);
}

.hero {
    padding: clamp(42px, 7vw, 92px) 0 clamp(34px, 5vw, 68px);
}

.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(32px, 6vw, 78px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, .70);
    font-weight: 900;
    font-size: 14px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    color: var(--teal-deep);
    overflow-wrap: anywhere;
}

h1 {
    margin-top: 18px;
    font-size: clamp(44px, 6.5vw, 92px);
    width: 100%;
    max-width: 900px;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.lead {
    margin: 18px 0 0;
    width: 100%;
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(17px, 1.35vw, 21px);
    overflow-wrap: anywhere;
}

.search-panel {
    width: 100%;
    max-width: 760px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.search-panel input,
.search-panel select,
.form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.search-panel input {
    border: 0;
    min-width: 0;
}

.hero-card {
    min-height: clamp(300px, 28vw, 460px);
    border-radius: 36px;
    padding: clamp(22px, 3vw, 38px);
    background:
        linear-gradient(145deg, rgba(15, 98, 94, .95), rgba(5, 47, 45, .96)),
        url("../images/logo.png.png") center/cover;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card strong {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1;
}

.hero-card span {
    color: rgba(226, 251, 246, .86);
    font-weight: 800;
}

.section {
    padding: clamp(32px, 5vw, 58px) 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: clamp(16px, 2vw, 26px);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(7, 63, 60, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(7, 63, 60, .13);
}

.product-image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--teal-soft);
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 950;
}

.badge-orange {
    background: rgba(255, 122, 26, .14);
    color: var(--orange-dark);
}

.product-image .badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: var(--mint-glass);
}

.product-body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.shop-name {
    color: var(--muted);
    font-size: 14px;
    font-weight: 850;
}

.product-admin-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.product-admin-cell img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 16px;
    object-fit: cover;
    background: var(--teal-soft);
}

.product-image-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.product-image-strip img {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--teal-soft);
    box-shadow: 0 10px 22px rgba(7, 63, 60, .10);
}

.shop-logo-editor,
.shop-public-head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.shop-list-card {
    display: grid;
    gap: 12px;
}

.shop-list-card .shop-public-head {
    margin-bottom: 0;
}

.shop-list-card h2 {
    margin-top: 10px;
    font-size: clamp(24px, 2.4vw, 32px);
}

.shop-list-card p {
    color: var(--muted);
}

.photo-tips-section {
    background: rgba(255, 255, 255, .34);
}

.photo-tips-grid,
.photo-admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.photo-tip-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 26px rgba(7, 63, 60, .08);
}

.photo-tip-card img,
.photo-admin-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--teal-soft);
}

.photo-tip-card span {
    display: block;
    padding: 12px;
    color: var(--teal-deep);
    font-weight: 950;
}

.photo-admin-preview {
    overflow: hidden;
    border-radius: 20px;
    background: var(--teal-soft);
}

.photo-admin-grid {
    margin-top: 22px;
}

.admin-shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.profile-stack {
    grid-template-columns: 1fr;
}

.readonly-profile {
    display: grid;
    gap: 18px;
}

.readonly-profile dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.readonly-profile dl div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.readonly-profile dt {
    color: var(--muted);
    font-weight: 900;
}

.readonly-profile dd {
    margin: 0;
    color: var(--teal-deep);
    font-weight: 950;
    overflow-wrap: anywhere;
}

.shop-admin-card {
    padding: 0;
    overflow: hidden;
}

.shop-admin-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.shop-admin-card summary::-webkit-details-marker {
    display: none;
}

.shop-admin-card summary strong {
    display: block;
    color: var(--teal-deep);
    font-size: 20px;
}

.shop-admin-card summary small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-weight: 850;
}

.shop-admin-card[open] summary {
    border-bottom: 1px solid var(--line);
}

.shop-admin-actions,
.shop-admin-form {
    padding: 18px 20px 0;
}

.shop-admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 20px;
}

.shop-logo-editor {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 16px;
    background: rgba(201, 243, 233, .38);
}

.shop-logo-editor img,
.shop-public-head img {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    border-radius: 24px;
    object-fit: cover;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(7, 63, 60, .12);
}

.shop-logo-editor h2 {
    font-size: 24px;
}

.shop-public-head {
    margin-bottom: 18px;
}

.shop-public-head img {
    width: 104px;
    height: 104px;
    border-radius: 28px;
}

.product-title {
    display: block;
    min-height: 44px;
    color: var(--teal-deep);
    font-size: 17px;
    line-height: 1.18;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

.price {
    color: var(--teal);
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 950;
    letter-spacing: 0;
}

.categories {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.category-tile,
.panel,
.stat {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .76);
    padding: 20px;
}

.category-tile {
    color: var(--teal-dark);
    font-weight: 950;
}

/* CORRECTION CTA */
.cta-band {
    width: calc(100% - 64px);
    max-width: none;
    margin: 32px 32px 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 32px;
    padding: clamp(26px, 4vw, 50px);
    background: var(--teal);
    color: var(--cream);
}

.cta-band h2 {
    color: var(--cream);
}

.cta-band p {
    max-width: 760px;
    color: rgba(226, 251, 246, .86);
}

.cta-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(226, 251, 246, .12);
    color: var(--cream);
    font-weight: 900;
}

.cta-pills,
.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-pills {
    margin-top: 18px;
}

.cta-pills span {
    border: 1px solid rgba(226, 251, 246, .22);
    border-radius: 999px;
    padding: 8px 12px;
    color: rgba(226, 251, 246, .9);
    font-weight: 850;
}

.cta-actions {
    justify-content: flex-end;
    min-width: 260px;
}

.btn-outline-light {
    border: 1px solid rgba(226, 251, 246, .32);
    background: transparent;
    color: var(--cream);
}

.filters,
.form-grid {
    display: grid;
    gap: 14px;
}

.filters {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) minmax(160px, 220px) auto;
    align-items: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
}

.pagination-summary {
    color: var(--muted);
    font-weight: 900;
}

.pagination-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-link {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--teal-deep);
    font-weight: 950;
    text-decoration: none;
    background: var(--white);
}

.page-link.is-active {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--white);
}

.is-disabled {
    pointer-events: none;
    opacity: .55;
}

.detail-grid,
.dashboard-grid {
    display: grid;
    gap: clamp(18px, 3vw, 34px);
}

.detail-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: start;
}

.detail-media {
    border-radius: 34px;
    overflow: hidden;
    background: var(--teal-soft);
}

.detail-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.detail-box {
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: clamp(22px, 3vw, 34px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.detail-box p {
    color: var(--muted);
}

.form-card {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: clamp(22px, 4vw, 38px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-section {
    min-height: calc(100vh - 82px);
    display: grid;
    align-items: center;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
    gap: clamp(22px, 4vw, 56px);
    align-items: stretch;
}

.auth-panel,
.auth-card {
    border: 1px solid var(--line);
    border-radius: 34px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
}

.auth-panel {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 5vw, 54px);
    background:
        linear-gradient(145deg, rgba(15, 98, 94, .95), rgba(5, 47, 45, .96)),
        url("../images/logo.png.png") center/cover;
    color: var(--cream);
}

.auth-panel .brand-mark {
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
}

.auth-panel .eyebrow {
    background: rgba(255, 255, 255, .14);
    color: var(--cream);
    border-color: rgba(226, 251, 246, .26);
}

.auth-panel h1 {
    color: var(--cream);
}

.auth-panel .lead {
    color: rgba(226, 251, 246, .82);
}

.auth-points {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.auth-points span {
    border: 1px solid rgba(226, 251, 246, .24);
    border-radius: 999px;
    padding: 9px 12px;
    color: rgba(226, 251, 246, .9);
    font-weight: 900;
}

.auth-card {
    display: grid;
    align-content: center;
    padding: clamp(22px, 4vw, 38px);
}

.auth-card h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.auth-actions {
    display: grid;
    gap: 10px;
}

.auth-actions .btn {
    width: 100%;
}

.auth-help {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    color: var(--muted);
    font-weight: 850;
}

.auth-help a {
    color: var(--teal-dark);
    font-weight: 950;
}

label {
    display: grid;
    gap: 8px;
    color: var(--teal-dark);
    font-weight: 850;
}

textarea.form-control {
    min-height: 140px;
    padding-top: 12px;
    resize: vertical;
}

.flash {
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 13px 15px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-weight: 850;
}

.internal-footer {
    margin-top: 44px;
    border-top: 1px solid var(--line);
    padding: 18px 0;
    color: var(--muted);
    background: rgba(255, 255, 255, .56);
}

.internal-footer .container {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 850;
}

.internal-footer span:not(:last-child)::after {
    content: "/";
    margin-left: 14px;
    color: rgba(15, 98, 94, .35);
}

.site-footer {
    margin-top: 56px;
    padding: clamp(42px, 6vw, 76px) 0 26px;
    background: var(--teal-deep);
    color: rgba(226, 251, 246, .78);
}

.footer-inner {
    display: grid;
    gap: 34px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(150px, 1fr));
    gap: clamp(22px, 4vw, 54px);
    align-items: start;
}

.footer-brand p {
    max-width: 410px;
    margin: 16px 0 0;
    color: rgba(226, 251, 246, .72);
}

.footer-logo {
    color: var(--white);
}

.footer-logo .brand-mark {
    box-shadow: 0 12px 24px rgba(0, 0, 0, .28);
}

.footer-contact {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.footer-contact a,
.footer-col a {
    color: rgba(226, 251, 246, .72);
}

.footer-contact a:hover,
.footer-col a:hover {
    color: var(--white);
}

.footer-col {
    display: grid;
    gap: 11px;
}

.footer-col h3 {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 17px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(226, 251, 246, .16);
    padding-top: 22px;
}

.footer-meta,
.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-meta span {
    color: rgba(226, 251, 246, .72);
    font-weight: 800;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(226, 251, 246, .12);
    color: var(--white);
    font-size: 12px;
    font-weight: 950;
}

.footer-social a:hover {
    background: var(--orange);
}

.mobile-hide {
    display: inline-flex;
}

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

.admin-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0 26px;
}

.admin-nav a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .72);
    color: var(--teal-dark);
    font-weight: 900;
}

.admin-nav a.is-active {
    background: var(--teal);
    color: var(--white);
}

.admin-nav .danger-link {
    background: rgba(255, 122, 26, .12);
    color: var(--orange-dark);
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}

.admin-layout > form.panel,
.admin-layout > .panel,
.admin-layout > .grid {
    width: 100%;
}

.admin-layout > form.panel.form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-layout > form.panel.form-grid h2.full,
.admin-layout > form.panel.form-grid label.full,
.admin-layout > form.panel.form-grid .full {
    grid-column: 1 / -1;
}

.admin-layout > .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.admin-layout > .grid .table-wrap {
    grid-column: span 1;
}

.admin-create-panel {
    padding: 0;
    overflow: hidden;
}

.admin-create-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 22px;
    color: var(--teal-deep);
    cursor: pointer;
    font-size: 22px;
    font-weight: 950;
    list-style: none;
}

.admin-create-panel summary::-webkit-details-marker {
    display: none;
}

.admin-create-panel summary::after {
    content: "+";
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 24px;
    line-height: 1;
}

.admin-create-panel[open] summary {
    border-bottom: 1px solid var(--line);
}

.admin-create-panel[open] summary::after {
    content: "-";
}

.user-create-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px;
}

.form-submit-row {
    display: flex;
    align-items: end;
}

.form-submit-row .btn {
    width: 100%;
}

.users-panel {
    padding: 22px;
}

.users-panel-head {
    margin-bottom: 12px;
}

.users-table {
    min-width: 980px;
}

.users-table td {
    vertical-align: middle;
}

.table-edit-panel {
    min-width: 210px;
}

.user-management-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.user-management-cell .shop-name {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(226, 251, 246, .72);
    color: var(--teal-dark);
}

.table-edit-panel summary {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(214, 230, 226, .9);
    color: var(--teal-deep);
    font-weight: 950;
    cursor: pointer;
}

.table-edit-panel summary::-webkit-details-marker {
    display: none;
}

.table-edit-panel[open] {
    min-width: 520px;
}

.table-edit-panel[open] summary {
    margin-bottom: 12px;
}

.user-action-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    align-items: end;
}

.user-action-form .btn {
    grid-column: 1 / -1;
}

.user-action-form .form-control {
    min-height: 42px;
    border-radius: 14px;
    padding: 0 12px;
}

.user-action-form .btn {
    min-height: 42px;
    padding: 9px 14px;
}

.table-wrap {
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: var(--teal-dark);
    font-size: 13px;
    text-transform: uppercase;
}

.mini-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mini-actions .form-control {
    width: auto;
    min-width: 132px;
    min-height: 40px;
}

.mini-actions .btn {
    min-height: 40px;
    padding: 9px 14px;
}

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

.cart-empty {
    border: 1px dashed var(--line);
    border-radius: 22px;
    padding: 22px;
    color: var(--muted);
    font-weight: 850;
}

.cart-list {
    display: grid;
    gap: 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    background: rgba(226, 251, 246, .52);
}

.cart-line img {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--white);
}

.cart-line strong {
    display: block;
    color: var(--teal-deep);
    font-size: 18px;
    overflow-wrap: anywhere;
}

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

.cart-line-actions .btn {
    min-height: 36px;
    padding: 8px 12px;
}

.cart-summary {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.cart-summary span {
    color: var(--muted);
    font-weight: 850;
}

.cart-summary strong {
    color: var(--teal-deep);
    font-size: 26px;
}

.order-card {
    display: grid;
    gap: 16px;
}

.order-card-head,
.order-status-form {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.order-card-head h2 {
    margin-top: 8px;
}

.order-card-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.order-total {
    display: grid;
    gap: 4px;
    text-align: right;
}

.order-total span,
.order-meta span {
    color: var(--muted);
    font-weight: 850;
}

.order-total strong {
    color: var(--teal-deep);
    font-size: 28px;
}

.order-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(15, 98, 94, .08);
    color: var(--teal-dark);
}

.order-items .data-table {
    min-width: 560px;
}

.order-status-form {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.order-status-form label {
    width: min(100%, 320px);
}

.payment-card {
    display: grid;
    gap: 14px;
}

.payment-proof {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(15, 98, 94, .10);
    color: var(--teal-dark);
    font-weight: 900;
}

.billing-toggle {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 28px;
    display: flex;
    gap: 4px;
    border: 1px solid rgba(15, 98, 94, .35);
    border-radius: 999px;
    padding: 4px;
    background: var(--white);
}

.billing-toggle span {
    border-radius: 999px;
    padding: 10px 22px;
    color: var(--teal-dark);
    font-weight: 850;
}

.billing-toggle .active {
    background: var(--teal-deep);
    color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.trial-offer {
    width: 100%;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr) auto;
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(255, 122, 26, .28);
    border-radius: 28px;
    padding: clamp(20px, 3vw, 30px);
    background: linear-gradient(135deg, rgba(255, 122, 26, .13), rgba(201, 243, 233, .78));
    box-shadow: 0 18px 38px rgba(7, 63, 60, .08);
}

.trial-offer h2 {
    margin-top: 12px;
}

.trial-offer p {
    margin: 12px 0 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.trial-offer .pricing-list {
    margin: 0;
}

.pricing-card {
    position: relative;
    display: flex;
    min-height: 620px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(7, 63, 60, .10);
}

.pricing-ribbon {
    min-height: 46px;
    padding: 12px 16px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    font-weight: 900;
}

.pricing-card.featured .pricing-ribbon {
    background: var(--orange);
    color: var(--white);
}

.pricing-card.plan-pro {
    border-color: rgba(255, 122, 26, .38);
}

.pricing-card.plan-premium {
    border-color: rgba(7, 63, 60, .34);
}

.pricing-card.plan-premium .pricing-ribbon {
    background: var(--teal-deep);
    color: var(--white);
}

.pricing-card.plan-premium .btn {
    background: var(--teal-deep);
}

.pricing-body {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 22px;
}

.pricing-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--teal-deep);
}

.pricing-description {
    min-height: 54px;
    margin: 8px 0 12px;
    color: var(--ink);
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 10px 0 22px;
}

.pricing-price strong {
    font-size: clamp(42px, 5vw, 58px);
    line-height: .9;
    font-weight: 500;
    letter-spacing: 0;
}

.pricing-price span {
    color: var(--muted);
    line-height: 1.1;
}

.pricing-list {
    display: grid;
    gap: 13px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.pricing-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
}

.pricing-list li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 900;
}

.pricing-footer {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

@media (max-width: 1040px) {
    .nav {
        display: none;
    }

    .hero-grid,
    .detail-grid,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 280px;
    }

    .auth-panel {
        min-height: 360px;
    }

    .filters {
        grid-template-columns: 1fr 1fr;
    }

    .filters .btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-wrap: wrap;
        align-items: center;
    }

    .brand {
        width: 100%;
        flex: 1 0 100%;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .header-actions {
        width: 100%;
        max-width: min(100%, 358px);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        overflow: hidden;
    }

    .internal-actions {
        max-width: 100%;
    }

    .internal-actions .currency:last-of-type {
        display: none;
    }

    .header-actions .currency,
    .header-actions .cart-pill,
    .header-actions .btn {
        width: 100%;
        min-height: 40px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .cart-box,
    .cart-pill {
        width: 100%;
    }

    .cart-menu {
        left: 0;
        right: auto;
    }

    .mobile-hide {
        display: none;
    }

    .hero {
        padding: 38px 0 26px;
    }

    h1 {
        max-width: min(100%, 358px);
        font-size: clamp(30px, 7.8vw, 36px);
        letter-spacing: 0;
    }

    .lead {
        max-width: min(100%, 340px);
        font-size: 16px;
    }

    .search-panel {
        width: 100%;
        max-width: min(100%, 358px);
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 12px;
    }

    .form-card,
    .auth-panel,
    .auth-card,
    .panel,
    .detail-box {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 24px;
        padding: 18px;
    }

    .search-panel input,
    .auth-actions .btn,
    .search-panel .btn {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        max-width: min(100%, 358px);
        border-radius: 24px;
    }

    .product-image {
        aspect-ratio: 1 / 1;
    }

    .product-body {
        padding: 13px;
    }

    .product-title {
        font-size: 16px;
        min-height: 42px;
    }

    .price {
        font-size: 20px;
    }

    .product-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-footer .btn {
        width: 100%;
        min-height: 38px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-logo-editor,
    .shop-public-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-nav a {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        padding: 9px 10px;
        text-align: center;
        font-size: 13px;
    }

    .data-table {
        min-width: 640px;
    }

    .pricing-card {
        max-width: min(100%, 358px);
        min-height: auto;
    }

    .trial-offer {
        max-width: min(100%, 358px);
        margin-left: 0;
        margin-right: 0;
        grid-template-columns: 1fr;
        gap: 16px;
        border-radius: 24px;
        padding: 18px;
    }

    .billing-toggle {
        width: min(100%, 358px);
        margin-left: 0;
        margin-right: 0;
        display: grid;
        grid-template-columns: 1fr;
    }

    .billing-toggle span {
        padding: 9px 10px;
        text-align: center;
        font-size: 13px;
    }

    .cta-band {
        width: calc(100% - 32px);
        margin: 24px 16px 38px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 28px;
    }

    .cta-actions {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .filters,
    .form-grid,
    .dashboard-grid,
    .admin-layout,
    .user-create-form,
    .admin-shop-grid,
    .shop-admin-form,
    .profile-grid,
    .footer-top,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .admin-create-panel summary {
        min-height: 56px;
        padding: 0 18px;
        font-size: 19px;
    }

    .user-create-form {
        padding: 18px;
    }

    .users-panel {
        padding: 16px;
    }

    .user-action-form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .user-action-form .btn {
        width: 100%;
    }

    .readonly-profile dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cart-line {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .cart-line img {
        width: 78px;
        height: 78px;
    }

    .cart-line-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .order-card-head,
    .order-status-form {
        flex-direction: column;
    }

    .order-total {
        text-align: left;
    }

    .order-status-form label,
    .order-status-form .btn {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand span:not(.brand-mark) {
        display: inline;
    }

    .header-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .header-actions .currency,
    .header-actions .cart-pill {
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-actions .btn-orange {
        grid-column: 1 / -1;
        font-size: 14px;
    }

    .hero-card {
        min-height: 230px;
        border-radius: 28px;
    }

    .hero-card strong {
        font-size: clamp(40px, 15vw, 58px);
    }

    h1 {
        font-size: clamp(30px, 8vw, 34px);
    }

    .lead {
        font-size: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .billing-toggle {
        width: 100%;
    }

    .billing-toggle span {
        font-size: 13px;
    }

    .pricing-body {
        padding: 18px;
    }

    .site-footer {
        margin-top: 38px;
        padding-top: 36px;
    }

    .footer-top {
        gap: 24px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }
}
