/*
Theme Name: Dawoodi Bohra Réunion
Theme URI: http://localhost/Appweb-Reunion/
Author: Dawoodi Bohra Réunion
Description: Theme product-first pour la plateforme locale Dawoodi Bohra Réunion.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: appweb-reunion
*/

:root {
    --appweb-bg: #f8fbf8;
    --appweb-surface: #ffffff;
    --appweb-ink: #12231e;
    --appweb-muted: #5d6f68;
    --appweb-border: #dce8e1;
    --appweb-green: #08745f;
    --appweb-green-dark: #073d34;
    --appweb-green-soft: #e8f4ef;
    --appweb-gold: #d9a441;
    --appweb-gold-soft: #fff4d8;
    --appweb-gold-dark: #9a6b16;
    --appweb-coral: var(--appweb-gold);
    --appweb-yellow: var(--appweb-gold);
    --appweb-blue: #0b6a5a;
    --appweb-shadow: 0 18px 42px rgba(7, 61, 52, 0.1);
}

/* Professional marketplace tools */
.appweb-pro-payment-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 16px;
}

.appweb-pro-payment-card {
    border-top: 3px solid #d9a441;
}

.appweb-pro-payment-card.is-ready {
    border-top-color: #0f7a5d;
}

.appweb-pro-payment-card > .appweb-button {
    width: fit-content;
}

.appweb-pro-payment-flow ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.appweb-pro-payment-flow li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 10px 0;
    border-top: 1px solid #e3e7e3;
}

.appweb-pro-payment-flow li:first-child {
    border-top: 0;
}

.appweb-pro-payment-flow li > b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    background: #0d674f;
    border: 2px solid #d9a441;
    border-radius: 50%;
    font-size: 0.8rem;
}

.appweb-pro-payment-flow strong,
.appweb-pro-payment-flow small {
    display: block;
}

.appweb-pro-payment-flow small {
    margin-top: 3px;
    color: var(--appweb-muted);
}

.appweb-pro-error-text {
    color: #9f2b2b;
}

.appweb-pro-performance-list {
    display: grid;
}

.appweb-pro-performance-list > a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    color: var(--appweb-ink);
    border-top: 1px solid #e5e9e5;
    text-decoration: none;
}

.appweb-pro-performance-list > a:first-child {
    border-top: 0;
}

.appweb-pro-performance-list > a > b {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #1f2925;
    background: #f2d99d;
    border-radius: 50%;
    font-size: 0.72rem;
}

.appweb-pro-performance-list strong,
.appweb-pro-performance-list small {
    display: block;
}

.appweb-pro-performance-list small {
    margin-top: 2px;
    color: var(--appweb-muted);
    font-size: 0.72rem;
}

.appweb-pro-performance-list em {
    color: #0d674f;
}

.appweb-coupon-code {
    display: inline-flex;
    padding: 5px 8px;
    color: #1f2925;
    background: #f7e8bd;
    border: 1px dashed #b47d18;
    border-radius: 4px;
    font-size: 0.78rem;
    letter-spacing: 0;
}

@media (max-width: 920px) {
    .appweb-pro-payment-grid {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--appweb-bg);
    color: var(--appweb-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--appweb-green);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--appweb-border);
    backdrop-filter: blur(12px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: var(--appweb-ink);
    font-weight: 800;
    text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: var(--appweb-green);
    border-radius: 8px;
    font-size: 0.86rem;
}

.site-brand__text {
    display: grid;
    min-width: 0;
    line-height: 1.15;
}

.site-brand__text small {
    color: var(--appweb-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 9px 10px;
    color: var(--appweb-ink);
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
    background: #edf3f0;
    color: var(--appweb-green-dark);
    text-decoration: none;
}

.site-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.site-footer {
    border-top: 1px solid var(--appweb-border);
    background: #ffffff;
}

.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
    color: var(--appweb-muted);
    font-size: 0.94rem;
}

.appweb-hero {
    display: grid;
    gap: 24px;
    padding: 30px 20px;
    color: #ffffff;
    background: var(--appweb-green-dark);
    border-bottom: 5px solid var(--appweb-yellow);
}

.appweb-hero h1 {
    max-width: 820px;
    margin: 10px 0 12px;
    font-size: 2.18rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.appweb-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.appweb-hero__panel {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 18px 0 18px 18px;
    border-left: 3px solid var(--appweb-yellow);
}

.appweb-hero__panel strong {
    color: #ffffff;
}

.appweb-hero__panel span {
    color: rgba(255, 255, 255, 0.78);
}

.appweb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--appweb-coral);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.appweb-hero .appweb-kicker {
    color: var(--appweb-yellow);
}

.appweb-search {
    display: grid;
    gap: 10px;
    max-width: 680px;
    margin-top: 22px;
}

.appweb-search input[type="search"],
.appweb-search button,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--appweb-ink);
    font: inherit;
}

.appweb-search button,
.button,
.appweb-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--appweb-green);
    border-radius: 8px;
    background: var(--appweb-green);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.appweb-button,
.woocommerce a.button {
    width: fit-content;
}

.appweb-button:not(.appweb-button--primary) {
    background: #ffffff;
    color: var(--appweb-green);
}

.appweb-search button:hover,
.button:hover,
.appweb-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--appweb-green-dark);
    border-color: var(--appweb-green-dark);
    color: #ffffff;
    text-decoration: none;
}

.appweb-category-strip {
    display: flex;
    gap: 10px;
    margin: 22px 0 34px;
    padding-bottom: 4px;
    overflow-x: auto;
}

.appweb-category-strip a {
    flex: 0 0 auto;
    padding: 9px 12px;
    color: var(--appweb-ink);
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.appweb-category-strip a:hover,
.appweb-category-strip a:focus {
    color: var(--appweb-green-dark);
    border-color: var(--appweb-green);
}

.appweb-section {
    margin-top: 34px;
}

.appweb-section__header {
    display: grid;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.appweb-section h2,
.entry-header h1,
.woocommerce-products-header__title,
.appweb-business-hero h1 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.appweb-section__header a {
    font-weight: 900;
}

.appweb-grid {
    display: grid;
    gap: 16px;
}

.appweb-card,
.woocommerce ul.products li.product {
    overflow: hidden;
    background: var(--appweb-surface);
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-card__media,
.woocommerce ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e7efeb;
    object-fit: cover;
}

.appweb-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-card__body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.appweb-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    color: var(--appweb-ink);
    font-size: 1.02rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.appweb-card h3 a {
    color: inherit;
}

.appweb-muted,
.appweb-product-business-mini {
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.92rem;
}

.appweb-price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
    margin: 0;
    color: var(--appweb-green-dark);
    font-weight: 900;
}

.appweb-card__link {
    font-weight: 900;
}

.appweb-empty {
    padding: 18px;
    background: #ffffff;
    border: 1px dashed var(--appweb-border);
    border-radius: 8px;
    color: var(--appweb-muted);
}

.appweb-ad-strip {
    display: grid;
    gap: 4px;
    margin-top: 34px;
    padding: 16px;
    background: #fff7e1;
    border: 1px solid #f4d38a;
    border-radius: 8px;
    color: #46340a;
}

.entry,
.appweb-shop-shell,
.appweb-business-hero,
.appweb-business-products,
.appweb-archive-header {
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.entry {
    padding: 18px;
}

.entry-header {
    margin-bottom: 18px;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.appweb-commerce-hero {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    padding: 24px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(18, 63, 55, 0.94), rgba(13, 72, 58, 0.82)),
        url("assets/auth-market-bg.png") center / cover no-repeat;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 22, 19, 0.16);
}

.appweb-commerce-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.04;
}

.appweb-commerce-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.appweb-commerce-shell {
    overflow: hidden;
}

.appweb-commerce-shell .wc-block-cart__empty-cart__title {
    margin-top: 0;
    color: var(--appweb-green-dark);
    font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.appweb-commerce-shell .wp-block-woocommerce-empty-cart-block {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 5vw, 44px);
    background: #f4f8f6;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    text-align: center;
}

.appweb-commerce-shell .wp-block-woocommerce-empty-cart-block::before {
    content: "Découvrez les offres locales disponibles et ajoutez vos premiers produits au panier.";
    max-width: 560px;
    margin: 0 auto;
    color: var(--appweb-muted);
}

.appweb-commerce-shell .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
    margin: 10px 0 0;
    color: var(--appweb-ink);
    font-size: 1.25rem;
}

.appweb-shop-shell {
    padding: 18px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 18px 0 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.appweb-product-business-mini {
    margin-left: 14px;
    margin-right: 14px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding-top: 14px;
}

.woocommerce ul.products li.product .button {
    margin-bottom: 14px;
}

.woocommerce .woocommerce-ordering select {
    min-width: 220px;
}

.appweb-product-business {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    background: #f7fbf9;
}

.appweb-product-business h2 {
    margin: 0;
    font-size: 1.24rem;
    letter-spacing: 0;
}

.appweb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.appweb-business-hero {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.appweb-business-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--appweb-muted);
}

.appweb-business-hero__meta span {
    padding: 7px 9px;
    background: #edf3f0;
    border-radius: 8px;
    font-weight: 700;
}

.appweb-business-products {
    margin-top: 22px;
    padding: 20px;
}

.appweb-archive-header {
    margin-bottom: 20px;
    padding: 20px;
}

@media (min-width: 680px) {
    .site-header {
        padding-inline: 28px;
    }

    .site-nav {
        display: flex;
    }

    .appweb-search {
        grid-template-columns: 1fr auto;
    }

    .appweb-grid--products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-grid--businesses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-section__header {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 960px) {
    .site-main {
        padding-top: 34px;
    }

    .appweb-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: end;
        padding: 46px 38px;
    }

    .appweb-hero h1 {
        font-size: 3rem;
    }

    .appweb-grid--products,
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .appweb-grid--businesses {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Professional presentation layer */

body {
    background: #f7faf8;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 10px 16px;
}

.site-brand__mark {
    background: #0f6b57;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.14);
}

.site-nav {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding-top: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.site-nav a {
    flex: 0 0 auto;
    padding: 8px 9px;
    background: #f4f8f6;
    text-align: center;
    white-space: nowrap;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    color: #ffffff;
    background: var(--appweb-green);
    border: 1px solid var(--appweb-green);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
    text-decoration: none;
}

.site-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 6px;
}

.site-header__cta:hover,
.site-header__cta:focus {
    color: #ffffff;
    background: var(--appweb-green-dark);
    text-decoration: none;
}

.site-main {
    width: min(1240px, calc(100% - 28px));
    padding-top: 22px;
}

.appweb-hero--market {
    position: relative;
    overflow: hidden;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 22px;
    background: #123f37;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 24px 50px rgba(8, 22, 19, 0.16);
}

.appweb-hero--market::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.appweb-hero__content,
.appweb-spotlight {
    position: relative;
    z-index: 1;
}

.appweb-hero h1 {
    max-width: 760px;
    font-size: clamp(2.15rem, 6vw, 4.7rem);
    line-height: 0.98;
}

.appweb-hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.84);
}

.appweb-search {
    max-width: 760px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.appweb-search input[type="search"] {
    border-color: transparent;
}

.appweb-search button {
    border-color: #f0b545;
    background: #f0b545;
    color: #1b2419;
}

.appweb-search button:hover,
.appweb-search button:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--appweb-green-dark);
}

.appweb-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 560px;
    margin-top: 18px;
}

.appweb-hero-stats span {
    display: grid;
    gap: 1px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
}

.appweb-hero-stats strong {
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
}

.appweb-spotlight {
    overflow: hidden;
    align-self: end;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.appweb-spotlight__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e8efec;
}

.appweb-spotlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-spotlight__body {
    display: grid;
    gap: 6px;
    padding: 16px;
    color: var(--appweb-ink);
}

.appweb-spotlight__body h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.18;
}

.appweb-spotlight__body h2 a {
    color: inherit;
}

.appweb-spotlight__body p {
    color: var(--appweb-muted);
}

.appweb-spotlight__body strong {
    color: var(--appweb-green-dark);
    font-size: 1.1rem;
}

.appweb-category-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 30px;
    overflow: visible;
}

.appweb-category-strip a {
    display: grid;
    gap: 3px;
    min-height: 76px;
    align-content: center;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 64, 55, 0.06);
}

.appweb-category-strip small {
    color: var(--appweb-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.appweb-layout {
    display: grid;
    gap: 22px;
}

.appweb-layout__main {
    min-width: 0;
}

.appweb-section {
    margin-top: 28px;
}

.appweb-section__header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--appweb-border);
}

.appweb-section h2,
.entry-header h1,
.woocommerce-products-header__title,
.appweb-business-hero h1,
.appweb-shop-intro h1,
.appweb-archive-header h1 {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.appweb-card,
.woocommerce ul.products li.product {
    border-color: rgba(20, 49, 43, 0.1);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.appweb-card:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 107, 87, 0.34);
    box-shadow: 0 18px 38px rgba(12, 26, 23, 0.12);
}

.appweb-card__media,
.woocommerce ul.products li.product a img {
    aspect-ratio: 5 / 4;
}

.appweb-card--product .appweb-card__body {
    min-height: 188px;
}

.appweb-card__body {
    align-content: start;
}

.appweb-pill {
    width: fit-content;
    padding: 5px 8px;
    color: #103f37;
    background: #e8f3ef;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.appweb-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.appweb-card__link {
    white-space: nowrap;
}

.appweb-promo-band {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.appweb-promo-band article {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-left: 5px solid var(--appweb-coral);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-promo-band article:nth-child(2) {
    border-left-color: var(--appweb-blue);
}

.appweb-promo-band h3,
.appweb-ad-card strong {
    margin: 6px 0;
    font-size: 1.08rem;
    line-height: 1.22;
}

.appweb-promo-band p,
.appweb-ad-card p {
    margin: 0;
    color: var(--appweb-muted);
}

.appweb-ad-rail {
    display: grid;
    gap: 14px;
    align-content: start;
}

.appweb-ad-card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-ad-card--primary {
    background: #fff7e1;
    border-color: #f4d38a;
}

.appweb-ad-card span {
    color: var(--appweb-coral);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-ad-card em {
    color: var(--appweb-muted);
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 800;
}

.appweb-ad-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: -6px -6px 4px;
    background: #edf3f0;
    border-radius: 8px;
}

.appweb-ad-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-ad-card a {
    width: fit-content;
    margin-top: 4px;
    font-weight: 900;
}

.appweb-shop-intro,
.appweb-archive-header {
    margin-bottom: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-shop-intro p {
    max-width: 700px;
}

.appweb-shop-shell .woocommerce-products-header {
    display: none;
}

.appweb-marketplace {
    display: grid;
    gap: 22px;
}

.appweb-marketplace-hero {
    display: grid;
    gap: 18px;
    align-items: end;
    padding: clamp(24px, 5vw, 42px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 61, 52, 0.96), rgba(12, 93, 76, 0.88)),
        url("assets/auth-market-bg.png") center / cover no-repeat;
    border: 1px solid rgba(217, 164, 65, 0.24);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-marketplace-hero--compact {
    background:
        linear-gradient(135deg, rgba(7, 61, 52, 0.96), rgba(12, 93, 76, 0.92)),
        radial-gradient(circle at right top, rgba(217, 164, 65, 0.28), transparent 34%);
}

.appweb-marketplace-hero .appweb-kicker {
    color: var(--appweb-gold);
}

.appweb-marketplace-hero h1 {
    max-width: 820px;
    margin: 6px 0 10px;
    color: #ffffff;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 0.98;
}

.appweb-marketplace-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
}

.appweb-marketplace-search {
    display: grid;
    gap: 10px;
    width: min(100%, 760px);
    margin-top: 20px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.appweb-marketplace-search input[type="search"] {
    min-height: 48px;
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font: inherit;
}

.appweb-marketplace-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.appweb-marketplace-search button {
    min-height: 48px;
    padding: 0 18px;
    color: #14251f;
    background: var(--appweb-gold);
    border: 1px solid var(--appweb-gold);
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.appweb-marketplace-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.appweb-marketplace-stats article {
    min-width: 118px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.appweb-marketplace-stats span,
.appweb-marketplace-stats strong {
    display: block;
}

.appweb-marketplace-stats span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-marketplace-stats strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
}

.appweb-marketplace-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scrollbar-width: thin;
}

.appweb-marketplace-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 11px;
    color: var(--appweb-green-dark);
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.appweb-marketplace-nav a:hover,
.appweb-marketplace-nav a:focus,
.appweb-marketplace-nav a.is-active {
    color: #ffffff;
    background: var(--appweb-green);
    border-color: var(--appweb-green);
    text-decoration: none;
}

.appweb-marketplace-nav em {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    color: var(--appweb-gold-dark);
    background: var(--appweb-gold-soft);
    border-radius: 999px;
    font-size: 0.76rem;
    font-style: normal;
}

.appweb-marketplace-nav a:hover em,
.appweb-marketplace-nav a:focus em,
.appweb-marketplace-nav a.is-active em {
    color: #123f37;
    background: #ffffff;
}

.appweb-category-board,
.appweb-market-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-category-board__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.appweb-category-tile {
    display: grid;
    min-height: 190px;
    overflow: hidden;
    color: #ffffff;
    background: var(--appweb-green-dark);
    border-radius: 8px;
    text-decoration: none;
}

.appweb-category-tile:hover,
.appweb-category-tile:focus {
    text-decoration: none;
}

.appweb-category-tile__media {
    position: relative;
    display: block;
    min-height: 124px;
    overflow: hidden;
}

.appweb-category-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(7, 61, 52, 0.68));
}

.appweb-category-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.appweb-category-tile:hover img,
.appweb-category-tile:focus img {
    transform: scale(1.04);
}

.appweb-category-tile__body {
    display: grid;
    gap: 4px;
    padding: 12px;
    background: var(--appweb-green-dark);
}

.appweb-category-tile strong {
    color: #ffffff;
    font-size: 1rem;
}

.appweb-category-tile em {
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
    font-weight: 800;
}

.appweb-marketplace-sections {
    display: grid;
    gap: 18px;
}

.appweb-marketplace-empty {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 48px min(6vw, 72px);
    text-align: center;
    background: #eef6f2;
    border-block: 1px solid var(--appweb-border);
}

.appweb-marketplace-empty h2 {
    max-width: 720px;
    margin: 0;
    color: var(--appweb-green-dark);
    font-size: 2rem;
}

.appweb-marketplace-empty p {
    max-width: 650px;
    margin: 0;
    color: var(--appweb-muted);
}

.appweb-marketplace-empty .appweb-button {
    margin-top: 6px;
}

.appweb-market-row {
    display: grid;
    grid-auto-columns: minmax(230px, 270px);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.appweb-market-card {
    display: grid;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(20, 49, 43, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(7, 61, 52, 0.08);
    scroll-snap-align: start;
}

.appweb-market-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf3f0;
}

.appweb-market-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-market-card__body {
    display: grid;
    gap: 7px;
    min-height: 210px;
    align-content: start;
    padding: 13px;
}

.appweb-market-card h3 {
    margin: 0;
    color: var(--appweb-ink);
    font-size: 1rem;
    line-height: 1.18;
}

.appweb-market-card h3 a {
    color: inherit;
    text-decoration: none;
}

.appweb-market-card__seller,
.appweb-market-card__excerpt {
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.88rem;
}

.appweb-market-card__seller {
    color: var(--appweb-green-dark);
    font-weight: 900;
}

.appweb-market-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.appweb-market-card__footer strong {
    color: var(--appweb-green-dark);
    font-weight: 900;
}

.appweb-market-card__footer a {
    color: var(--appweb-gold-dark);
    font-weight: 900;
    white-space: nowrap;
}

.appweb-shop-shell--category {
    padding: 18px;
}

.woocommerce-result-count {
    color: var(--appweb-muted);
}

.woocommerce div.product {
    display: grid !important;
    gap: 22px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary {
    float: none !important;
    width: auto !important;
}

.woocommerce div.product div.images {
    max-width: none !important;
}

.woocommerce div.product div.images img,
.woocommerce-page div.product div.images img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 8px;
}

.woocommerce div.product div.summary {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
    grid-column: 1 / -1;
}

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0;
}

.woocommerce div.product form.cart .qty {
    width: 70px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    text-align: center;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
    min-height: 44px;
    background: var(--appweb-green);
    border: 1px solid var(--appweb-green);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button.single_add_to_cart_button:focus {
    background: var(--appweb-green-dark);
    border-color: var(--appweb-green-dark);
    color: #ffffff;
}

.appweb-business-hero {
    overflow: hidden;
    grid-template-columns: 1fr;
    padding: 0;
}

.appweb-business-hero__media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e8efec;
}

.appweb-business-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-business-hero__content,
.appweb-contact-card {
    padding: 20px;
}

.appweb-business-hero__content {
    background: #ffffff;
}

.appweb-contact-card {
    display: grid;
    gap: 12px;
    align-content: start;
    background: #f7fbf9;
    border-top: 1px solid var(--appweb-border);
}

.appweb-contact-card strong {
    font-size: 1.05rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

@media (min-width: 680px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
        padding-inline: 24px;
    }

    .site-nav {
        flex-wrap: nowrap;
        grid-column: auto;
        justify-content: center;
        padding-top: 0;
        overflow: visible;
    }

    .site-nav a {
        flex: 0 0 auto;
    }

    .site-header__cta {
        display: inline-flex;
    }

    .appweb-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .appweb-promo-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .site-main {
        padding-top: 28px;
    }

    .appweb-hero--market {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 34px;
        padding: 42px;
    }

    .appweb-category-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .appweb-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
    }

    .appweb-ad-rail {
        position: sticky;
        top: 96px;
        margin-top: 28px;
    }

    .woocommerce div.product {
        grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
        align-items: start;
    }

    .appweb-business-hero {
        grid-template-columns: 42% minmax(0, 1fr) 260px;
        align-items: stretch;
    }

    .appweb-business-hero__media {
        height: 100%;
        min-height: 330px;
    }

    .appweb-contact-card {
        border-top: 0;
        border-left: 1px solid var(--appweb-border);
    }
}

/* Featured carousel */

.appweb-spotlight.appweb-carousel {
    display: grid;
    gap: 14px;
    align-self: stretch;
    overflow: hidden;
    padding: 16px;
    color: #ffffff;
    background: #0b5948;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.appweb-spotlight__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}

.appweb-spotlight__header h2 {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.appweb-carousel__controls {
    display: flex;
    gap: 8px;
}

.appweb-carousel__button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.appweb-carousel__button:hover,
.appweb-carousel__button:focus {
    color: #123f37;
    background: #ffffff;
}

.appweb-carousel__viewport {
    overflow: hidden;
}

.appweb-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.appweb-carousel__track::-webkit-scrollbar {
    display: none;
}

.appweb-spotlight-card {
    flex: 0 0 100%;
    overflow: hidden;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.appweb-spotlight-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #164d42;
}

.appweb-spotlight-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-spotlight-card__body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.appweb-spotlight-card__tag {
    width: fit-content;
    padding: 5px 8px;
    color: #173d33;
    background: #f0b545;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.appweb-spotlight-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.14rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.appweb-spotlight-card h3 a {
    color: inherit;
}

.appweb-spotlight-card__business,
.appweb-spotlight-card__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.appweb-spotlight-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.appweb-spotlight-card__footer strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.appweb-spotlight-card__footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 11px;
    color: #123f37;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.appweb-spotlight-card__footer a:hover,
.appweb-spotlight-card__footer a:focus {
    color: #123f37;
    background: #f0b545;
}

/* Dashboard preview pages */

.appweb-dashboard {
    display: grid;
    gap: 18px;
}

.appweb-dashboard-hero {
    display: grid;
    gap: 18px;
    padding: 22px;
    color: #ffffff;
    background: #123f37;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 22, 19, 0.14);
}

.appweb-dashboard--admin .appweb-dashboard-hero {
    background: #1d4354;
}

.appweb-dashboard-hero h1 {
    max-width: 880px;
    margin: 6px 0 10px;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.appweb-dashboard-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.appweb-dashboard-hero__status {
    display: grid;
    gap: 4px;
    align-content: center;
    width: fit-content;
    min-width: 190px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.appweb-dashboard-hero__status span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.appweb-dashboard-hero__status strong {
    color: #ffffff;
    font-size: 1.35rem;
}

.appweb-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.appweb-dashboard-metrics article,
.appweb-dashboard-panel {
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-dashboard-metrics article {
    display: grid;
    gap: 4px;
    min-height: 96px;
    align-content: center;
    padding: 16px;
}

.appweb-dashboard-metrics span {
    color: var(--appweb-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.appweb-dashboard-metrics strong {
    color: var(--appweb-green-dark);
    font-size: 2rem;
    line-height: 1;
}

.appweb-dashboard-grid {
    display: grid;
    gap: 16px;
}

.appweb-dashboard-panel {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px;
}

.appweb-dashboard-panel h2 {
    margin: 4px 0 0;
    font-size: 1.45rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.appweb-dashboard-panel p {
    margin: 0;
    color: var(--appweb-muted);
}

.appweb-dashboard-panel__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.appweb-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.appweb-button--danger {
    color: #7a1d1d;
    background: #fff0f0;
    border-color: #e7b3b3;
    box-shadow: none;
}

.appweb-button--danger:hover,
.appweb-button--danger:focus {
    color: #ffffff;
    background: #9f2b2b;
    border-color: #9f2b2b;
}

.appweb-notice {
    padding: 13px 15px;
    color: #0f4f40;
    background: #dff5ed;
    border: 1px solid #b8e6d5;
    border-radius: 8px;
    font-weight: 800;
}

.appweb-notice--error {
    color: #852c2c;
    background: #fff0f0;
    border-color: #edc2c2;
}

.appweb-form {
    display: grid;
    gap: 12px;
}

.appweb-form-grid {
    display: grid;
    gap: 12px;
}

.appweb-form--profile {
    gap: 16px;
}

.appweb-form--compact {
    gap: 11px;
}

.appweb-form label {
    display: grid;
    gap: 6px;
}

.appweb-form label span {
    color: var(--appweb-muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.appweb-form input,
.appweb-form select,
.appweb-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--appweb-ink);
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    font: inherit;
}

.appweb-form textarea {
    resize: vertical;
}

.appweb-form input[type="file"] {
    padding: 8px;
}

.appweb-current-media {
    display: grid;
    gap: 8px;
    padding: 10px;
    background: #f7fbf9;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-current-media span {
    color: var(--appweb-muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.appweb-current-media img {
    width: min(220px, 100%);
    border-radius: 8px;
}

.appweb-crud-list {
    display: grid;
    gap: 12px;
}

.appweb-crud-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid rgba(217, 164, 65, 0.22);
    border-radius: 8px;
}

.appweb-crud-card__summary {
    display: grid;
    gap: 12px;
}

.appweb-crud-card h3 {
    margin: 3px 0 4px;
    color: var(--appweb-green-dark);
    font-size: 1.08rem;
    line-height: 1.2;
}

.appweb-crud-card p {
    margin: 0;
}

.appweb-crud-editor {
    padding: 12px;
    background: #f8fbf8;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-crud-editor summary {
    width: fit-content;
    color: var(--appweb-green-dark);
    font-weight: 900;
    cursor: pointer;
}

.appweb-crud-editor[open] summary {
    margin-bottom: 12px;
}

.appweb-crud-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appweb-crud-actions form {
    margin: 0;
}

@media (min-width: 760px) {
    .appweb-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-crud-card__summary {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
}

@media (max-width: 640px) {
    .appweb-crud-actions .appweb-button,
    .appweb-crud-actions form {
        width: 100%;
    }
}

.appweb-form__inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.appweb-form__inline input[type="checkbox"] {
    width: auto;
    min-height: auto;
}

body.appweb-auth-page {
    overflow-x: clip;
}

body.appweb-auth-page .site-main {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

.appweb-auth--login,
.appweb-auth--register {
    position: relative;
    display: grid;
    width: 100%;
    min-height: calc(100vh - 118px);
    margin: -22px 0 0;
    padding: clamp(34px, 7vw, 86px) max(18px, calc((100vw - 1240px) / 2));
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(6, 24, 20, 0.74), rgba(6, 24, 20, 0.52) 46%, rgba(10, 40, 34, 0.78)),
        url("assets/auth-market-bg.png") center / cover no-repeat;
}

.appweb-auth--account {
    display: grid;
    gap: 20px;
}

.appweb-account {
    display: grid;
    gap: 18px;
}

.appweb-account-hero {
    display: grid;
    gap: 18px;
    align-items: end;
    padding: clamp(24px, 5vw, 42px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(10, 57, 47, 0.96), rgba(17, 78, 65, 0.9)),
        radial-gradient(circle at 86% 12%, rgba(240, 181, 69, 0.32), transparent 34%);
    border: 1px solid rgba(240, 181, 69, 0.22);
    border-radius: 8px;
    box-shadow: var(--appweb-shadow);
}

.appweb-account-hero h1 {
    max-width: 760px;
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.appweb-account-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.appweb-account-hero .appweb-kicker {
    color: var(--appweb-gold);
}

.appweb-account-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: min(100%, 290px);
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.appweb-account-identity img {
    width: 58px;
    height: 58px;
    border: 2px solid rgba(240, 181, 69, 0.72);
    border-radius: 50%;
}

.appweb-account-identity strong,
.appweb-account-identity span {
    display: block;
}

.appweb-account-identity strong {
    color: #ffffff;
}

.appweb-account-identity span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.appweb-account-layout {
    display: grid;
    gap: 16px;
}

.appweb-account-panel {
    border-color: rgba(217, 164, 65, 0.2);
}

.appweb-account-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.appweb-account-actions a {
    display: grid;
    gap: 7px;
    min-height: 112px;
    padding: 15px;
    color: var(--appweb-ink);
    background: #f8fbf8;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
    text-decoration: none;
}

.appweb-account-actions a:hover,
.appweb-account-actions a:focus {
    color: var(--appweb-green-dark);
    background: #fff9e8;
    border-color: rgba(217, 164, 65, 0.5);
    text-decoration: none;
}

.appweb-account-actions strong {
    color: var(--appweb-green-dark);
    font-size: 1rem;
}

.appweb-account-actions span {
    color: var(--appweb-muted);
    font-size: 0.9rem;
}

.appweb-account-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.appweb-account-details div {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--appweb-border);
}

.appweb-account-details dt {
    color: var(--appweb-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-account-details dd {
    margin: 0;
    color: var(--appweb-green-dark);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.appweb-account-panel__divider {
    height: 1px;
    margin: 4px 0;
    background: var(--appweb-border);
}

.appweb-profile-photo {
    display: grid;
    gap: 13px;
}

.appweb-profile-photo__summary {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.appweb-profile-photo__preview {
    width: 78px;
    height: 78px;
}

.appweb-profile-photo__preview img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.64);
}

.appweb-profile-photo__summary strong,
.appweb-profile-photo__summary p {
    display: block;
}

.appweb-profile-photo__summary strong {
    color: var(--appweb-green-dark);
    font-size: 0.92rem;
}

.appweb-profile-photo__summary p {
    margin: 3px 0 0;
    color: var(--appweb-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.appweb-profile-photo__form {
    display: grid;
    gap: 10px;
    margin: 0;
}

.appweb-profile-photo__form label {
    display: grid;
    gap: 6px;
}

.appweb-profile-photo__form label > span {
    color: #425e55;
    font-size: 0.76rem;
    font-weight: 900;
}

.appweb-profile-photo__form input[type="file"] {
    width: 100%;
    min-width: 0;
    padding: 7px;
    color: var(--appweb-muted);
    background: #f8fbf9;
    border: 1px solid #cfddd6;
    border-radius: 6px;
    font: inherit;
    font-size: 0.72rem;
}

.appweb-profile-photo__form input[type="file"]::file-selector-button {
    margin-right: 8px;
    padding: 7px 9px;
    color: var(--appweb-green-dark);
    background: #ffffff;
    border: 1px solid rgba(217, 164, 65, 0.48);
    border-radius: 5px;
    font-weight: 850;
    cursor: pointer;
}

.appweb-profile-photo__form label small {
    color: #7b8c85;
    font-size: 0.68rem;
}

.appweb-profile-photo__form .appweb-button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
}

.appweb-profile-photo__form .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.appweb-profile-photo__remove {
    margin: -3px 0 0;
}

.appweb-profile-photo__remove button {
    min-height: 0;
    padding: 2px 0;
    color: #8f3434;
    background: transparent;
    border: 0;
    box-shadow: none;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.appweb-profile-photo__remove button:hover,
.appweb-profile-photo__remove button:focus {
    color: #6f1717;
    text-decoration: underline;
}

.appweb-account-orders {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-account-orders a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 130px 120px;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    color: var(--appweb-ink);
    background: #ffffff;
    border-top: 1px solid var(--appweb-border);
    text-decoration: none;
}

.appweb-account-orders a:first-child {
    border-top: 0;
}

.appweb-account-orders a:hover,
.appweb-account-orders a:focus {
    background: #f8fbf8;
    text-decoration: none;
}

.appweb-account-orders strong {
    color: var(--appweb-green-dark);
}

.appweb-account-orders span {
    color: var(--appweb-muted);
}

.appweb-account-orders em {
    width: fit-content;
    padding: 5px 9px;
    color: #0f4f40;
    background: #dff5ed;
    border-radius: 999px;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.appweb-account-orders b {
    color: var(--appweb-green-dark);
    text-align: right;
}

.appweb-account-empty {
    display: grid;
    gap: 10px;
    padding: 18px;
    background: #f8fbf8;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-account-empty strong {
    color: var(--appweb-green-dark);
    font-size: 1.05rem;
}

.appweb-account-woocommerce .woocommerce {
    display: grid;
    gap: 16px;
}

.appweb-auth-card {
    position: relative;
    width: min(100%, 430px);
    overflow: hidden;
    gap: 16px;
    padding: 38px 34px;
    color: #ffffff;
    background: rgba(11, 34, 30, 0.92);
    border: 1px solid rgba(240, 181, 69, 0.26);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(8, 22, 19, 0.28);
    backdrop-filter: blur(14px);
}

.appweb-auth--register .appweb-auth-card {
    width: min(100%, 460px);
}

.appweb-auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f0b545;
}

.appweb-auth-card h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.1;
    text-align: center;
}

.appweb-auth-card .appweb-kicker {
    color: #f0b545;
    text-align: center;
}

.appweb-auth-card .appweb-form {
    gap: 14px;
}

.appweb-auth-card .appweb-form label span {
    color: rgba(255, 255, 255, 0.72);
}

.appweb-auth-card .appweb-form input,
.appweb-auth-card .appweb-form select,
.appweb-auth-card .appweb-form textarea,
.appweb-auth-card.woocommerce input[type="text"],
.appweb-auth-card.woocommerce input[type="email"],
.appweb-auth-card.woocommerce input[type="password"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.appweb-auth-card .appweb-form input:focus,
.appweb-auth-card .appweb-form select:focus,
.appweb-auth-card .appweb-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.11);
    border-color: #f0b545;
    box-shadow: 0 0 0 3px rgba(240, 181, 69, 0.16);
}

.appweb-auth-card .appweb-form__inline {
    display: flex;
}

.appweb-auth-card .appweb-form__inline span {
    color: rgba(255, 255, 255, 0.72);
}

.appweb-auth-card .appweb-button,
.appweb-auth-card .woocommerce button.button {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
}

.appweb-auth-card .appweb-form a,
.appweb-auth-link {
    display: block;
    width: fit-content;
    margin: 2px auto 0;
    color: #f0b545;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.appweb-auth-card .appweb-form a:hover,
.appweb-auth-card .appweb-form a:focus,
.appweb-auth-link:hover,
.appweb-auth-link:focus {
    color: #ffffff;
    text-decoration: none;
}

.appweb-auth-card .woocommerce-error,
.appweb-auth-card .woocommerce-message,
.appweb-auth-card .woocommerce-info {
    margin: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.appweb-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    color: #34514a;
    background: #edf3f0;
    border-radius: 999px;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.appweb-status--success {
    color: #0f4f40;
    background: #dff5ed;
}

.appweb-status--warning {
    color: #684600;
    background: #fff1c4;
}

.appweb-checklist,
.appweb-admin-queue {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.appweb-checklist li,
.appweb-admin-queue article {
    padding: 10px;
    background: #f7fbf9;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-checklist li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--appweb-green);
    font-weight: 900;
}

.appweb-ad-preview {
    display: grid;
    place-items: center;
    min-height: 118px;
    color: #123f37;
    background: #fff7e1;
    border: 1px dashed #e3b94d;
    border-radius: 8px;
    font-weight: 900;
}

.appweb-admin-queue article {
    display: grid;
    gap: 3px;
}

.appweb-admin-queue span {
    color: var(--appweb-muted);
    font-size: 0.9rem;
}

.appweb-dashboard-table {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--appweb-border);
    border-radius: 8px;
}

.appweb-dashboard-table__head,
.appweb-dashboard-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 100px;
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
}

.appweb-dashboard-table__head {
    color: var(--appweb-muted);
    background: #f4f8f6;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-dashboard-row {
    color: var(--appweb-ink);
    background: #ffffff;
    border-top: 1px solid var(--appweb-border);
    text-decoration: none;
}

.appweb-dashboard-row:hover,
.appweb-dashboard-row:focus {
    background: #f7fbf9;
    text-decoration: none;
}

.appweb-dashboard-row strong {
    color: var(--appweb-green-dark);
}

.appweb-dashboard-row em {
    width: fit-content;
    padding: 4px 8px;
    color: #0f4f40;
    background: #dff5ed;
    border-radius: 999px;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.appweb-dashboard--ads .appweb-dashboard-hero {
    background: #113d35;
}

.appweb-ad-showcase {
    display: grid;
    gap: 14px;
}

.appweb-ad-showcase .appweb-ad-card {
    min-height: 100%;
}

.appweb-crop-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 210px;
    overflow: hidden;
    color: #123f37;
    background:
        linear-gradient(90deg, rgba(15, 107, 87, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(15, 107, 87, 0.14) 1px, transparent 1px),
        #fff7e1;
    background-size: 24px 24px;
    border: 1px solid #f0cf7b;
    border-radius: 8px;
}

.appweb-crop-preview::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 2px solid #0f6b57;
    border-radius: 8px;
    box-shadow: 0 0 0 999px rgba(18, 63, 55, 0.12);
}

.appweb-crop-preview span,
.appweb-crop-preview strong {
    position: relative;
    z-index: 1;
    display: block;
    width: fit-content;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.84);
    border-radius: 8px;
}

.appweb-crop-preview strong {
    margin-top: 8px;
    color: var(--appweb-green-dark);
    font-size: 1.25rem;
}

.appweb-ad-detail {
    display: grid;
    gap: 18px;
}

.appweb-ad-detail__hero {
    display: grid;
    gap: 20px;
    overflow: hidden;
    color: #ffffff;
    background: #123f37;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 22, 19, 0.14);
}

.appweb-ad-detail__hero > div:first-child {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 24px;
}

.appweb-ad-detail__hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.appweb-ad-detail__hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.appweb-ad-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appweb-ad-detail__meta span {
    padding: 6px 9px;
    color: #123f37;
    background: #fff7e1;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.appweb-ad-detail__media {
    min-height: 260px;
    background: #0b2f29;
}

.appweb-ad-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-dashboard-panel .entry-content {
    color: var(--appweb-muted);
}

@media (min-width: 700px) {
    .appweb-ad-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .appweb-ad-detail__hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
        align-items: stretch;
    }
}

@media (min-width: 780px) {
    .appweb-dashboard-hero {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        padding: 34px;
    }

    .appweb-account-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .appweb-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-account-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
    }

    .appweb-marketplace-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .appweb-marketplace-search {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .appweb-marketplace-nav {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .appweb-dashboard-panel--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .appweb-hero--market {
        padding: 18px;
    }

    .appweb-hero--market h1 {
        font-size: 2rem;
    }

    .appweb-spotlight.appweb-carousel {
        padding: 12px;
    }

    .appweb-spotlight__header {
        align-items: center;
    }

    .appweb-spotlight__header h2 {
        font-size: 1.2rem;
    }

    .appweb-spotlight-card {
        display: grid;
        grid-template-columns: minmax(108px, 40%) minmax(0, 1fr);
        min-width: min(280px, 100%);
    }

    .appweb-spotlight-card__media {
        aspect-ratio: auto;
        min-height: 0;
    }

    .appweb-spotlight-card__media img {
        height: 100%;
    }

    .appweb-spotlight-card__body {
        padding: 11px;
    }

    .appweb-spotlight-card h3 {
        font-size: 1rem;
    }

    .appweb-spotlight-card__desc {
        display: none;
    }

    .appweb-account-hero {
        padding: 22px;
    }

    .appweb-account-identity {
        align-items: flex-start;
    }

    .appweb-account-orders a {
        grid-template-columns: 1fr;
    }

    .appweb-account-orders b {
        text-align: left;
    }

    .appweb-marketplace {
        gap: 16px;
    }

    .appweb-marketplace-hero {
        padding: 22px;
    }

    .appweb-marketplace-stats {
        grid-template-columns: 1fr;
    }

    .appweb-category-board,
    .appweb-market-section {
        padding: 14px;
    }

    .appweb-category-board__grid {
        grid-template-columns: 1fr;
    }

    .appweb-market-row {
        grid-auto-columns: minmax(228px, 82vw);
    }

    .appweb-dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .appweb-dashboard-panel__header {
        display: grid;
    }

    .appweb-dashboard-table__head {
        display: none;
    }

    .appweb-dashboard-row {
        grid-template-columns: 1fr;
    }
}

/* Emerald, gold and white finish */

body {
    background:
        linear-gradient(180deg, #fbfdfb 0, var(--appweb-bg) 360px),
        var(--appweb-bg);
}

a {
    color: var(--appweb-green);
}

a:hover,
a:focus {
    color: var(--appweb-green-dark);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 164, 65, 0.34);
    box-shadow: 0 16px 34px rgba(7, 61, 52, 0.08);
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.72), transparent);
    pointer-events: none;
}

.site-brand {
    color: var(--appweb-green-dark);
}

.site-brand__mark {
    color: #ffffff;
    background: linear-gradient(145deg, var(--appweb-green), var(--appweb-green-dark));
    border: 1px solid rgba(217, 164, 65, 0.46);
    box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.16), 0 8px 18px rgba(7, 61, 52, 0.16);
}

.site-brand__mark--logo {
    width: 48px;
    height: 48px;
    padding: 7px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 32%, rgba(217, 164, 65, 0.18), transparent 58%),
        linear-gradient(145deg, #0c6d58, #06382f);
    border-color: rgba(217, 164, 65, 0.62);
}

.site-brand__mark--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.site-footer__logo .site-brand__mark--logo {
    width: 46px;
    height: 46px;
    background:
        radial-gradient(circle at 50% 34%, rgba(217, 164, 65, 0.22), transparent 58%),
        linear-gradient(145deg, #0f6b57, #052e28);
}

@media (max-width: 640px) {
    .site-brand__mark--logo {
        width: 44px;
        height: 44px;
        padding: 6px;
    }
}

.site-brand__text small {
    color: var(--appweb-gold-dark);
}

.site-nav a {
    color: var(--appweb-green-dark);
    background: transparent;
    border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--appweb-green-dark);
    background: var(--appweb-green-soft);
    border-color: rgba(8, 116, 95, 0.18);
    box-shadow: inset 0 -2px 0 var(--appweb-gold);
}

.site-header__cta,
.appweb-search button,
.button,
.appweb-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    background: linear-gradient(135deg, var(--appweb-green), var(--appweb-green-dark));
    border-color: var(--appweb-green);
    box-shadow: 0 10px 22px rgba(7, 61, 52, 0.14);
}

.site-header__cta:hover,
.site-header__cta:focus,
.appweb-search button:hover,
.appweb-search button:focus,
.button:hover,
.button:focus,
.appweb-button:hover,
.appweb-button:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button.single_add_to_cart_button:focus {
    color: #ffffff;
    background: var(--appweb-green-dark);
    border-color: var(--appweb-gold);
    box-shadow: 0 12px 26px rgba(7, 61, 52, 0.2);
    text-decoration: none;
}

.appweb-hero--market .appweb-search button {
    color: #14251f;
    background: var(--appweb-gold);
    border-color: var(--appweb-gold);
    box-shadow: 0 12px 26px rgba(154, 107, 22, 0.24);
}

.appweb-hero--market .appweb-search button:hover,
.appweb-hero--market .appweb-search button:focus {
    color: #ffffff;
    background: var(--appweb-green-dark);
    border-color: var(--appweb-gold);
}

.appweb-button:not(.appweb-button--primary),
.woocommerce a.button:not(.checkout-button) {
    color: var(--appweb-green-dark);
    background: #ffffff;
    border-color: rgba(217, 164, 65, 0.42);
    box-shadow: none;
}

.appweb-button:not(.appweb-button--primary):hover,
.appweb-button:not(.appweb-button--primary):focus,
.woocommerce a.button:not(.checkout-button):hover,
.woocommerce a.button:not(.checkout-button):focus {
    color: var(--appweb-green-dark);
    background: var(--appweb-gold-soft);
    border-color: var(--appweb-gold);
}

.appweb-kicker,
.appweb-ad-card span {
    color: var(--appweb-gold-dark);
}

.appweb-hero--market,
.appweb-dashboard-hero,
.appweb-commerce-hero,
.appweb-ad-detail__hero {
    background:
        linear-gradient(135deg, rgba(7, 61, 52, 0.96), rgba(8, 116, 95, 0.84)),
        url("assets/auth-market-bg.png") center / cover no-repeat;
    border: 1px solid rgba(217, 164, 65, 0.28);
}

.appweb-hero .appweb-kicker,
.appweb-dashboard-hero .appweb-kicker,
.appweb-commerce-hero .appweb-kicker,
.appweb-ad-detail__hero .appweb-kicker {
    color: var(--appweb-gold);
}

.entry,
.appweb-shop-shell,
.appweb-business-hero,
.appweb-business-products,
.appweb-archive-header,
.appweb-card,
.appweb-ad-card,
.appweb-dashboard-panel,
.woocommerce ul.products li.product,
.woocommerce div.product div.summary {
    border-color: rgba(217, 164, 65, 0.22);
    box-shadow: 0 16px 38px rgba(7, 61, 52, 0.08);
}

.appweb-card:hover,
.woocommerce ul.products li.product:hover {
    border-color: rgba(217, 164, 65, 0.72);
    box-shadow: 0 20px 44px rgba(7, 61, 52, 0.14);
}

.appweb-price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.appweb-card__footer strong {
    color: var(--appweb-green-dark);
}

.appweb-pill,
.appweb-status,
.appweb-business-hero__meta span {
    color: var(--appweb-green-dark);
    background: var(--appweb-green-soft);
}

.appweb-ad-card--primary,
.appweb-ad-strip,
.appweb-promo-band article {
    background: linear-gradient(180deg, #ffffff, var(--appweb-gold-soft));
    border-color: rgba(217, 164, 65, 0.42);
}

.appweb-commerce-shell .wp-block-woocommerce-empty-cart-block {
    background: linear-gradient(180deg, #ffffff, #f6fbf8);
    border-color: rgba(217, 164, 65, 0.28);
}

.appweb-commerce-shell .wp-block-woocommerce-empty-cart-block::before {
    content: "Découvrez les offres locales disponibles et ajoutez vos premiers produits au panier.";
}

.appweb-auth-card {
    background: rgba(7, 39, 34, 0.92);
    border-color: rgba(217, 164, 65, 0.42);
}

.appweb-auth-card::before {
    background: var(--appweb-gold);
}

.appweb-auth-card .appweb-kicker,
.appweb-auth-link,
.appweb-auth-card .appweb-form a {
    color: #f2c76b;
}

.site-footer {
    position: relative;
    margin-top: 52px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(135deg, rgba(7, 61, 52, 0.98), rgba(5, 33, 28, 1)),
        var(--appweb-green-dark);
    border-top: 4px solid var(--appweb-gold);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
    text-decoration: none;
}

.site-footer__cta,
.site-footer__inner,
.site-footer__bottom {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.site-footer__cta {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: clamp(24px, 4vw, 38px) 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__cta h2 {
    max-width: 800px;
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(1.65rem, 4vw, 3rem);
    line-height: 1.04;
}

.site-footer__cta p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer__cta-actions,
.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.site-footer__button:hover,
.site-footer__button:focus {
    background: rgba(255, 255, 255, 0.1);
}

.site-footer__button--gold {
    color: #14251f;
    background: var(--appweb-gold);
    border-color: var(--appweb-gold);
}

.site-footer__button--gold:hover,
.site-footer__button--gold:focus {
    color: #14251f;
    background: #f0c567;
}

.site-footer__inner {
    display: grid;
    gap: 28px;
    padding: 34px 0;
}

.site-footer__brand {
    display: grid;
    gap: 14px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.site-footer__logo strong {
    display: block;
    color: #ffffff;
    line-height: 1.1;
}

.site-footer__logo small {
    display: block;
    color: var(--appweb-gold);
    font-size: 0.78rem;
    font-weight: 800;
}

.site-footer__brand p,
.site-footer__column p {
    max-width: 430px;
    margin: 0;
}

.site-footer__badges span {
    padding: 7px 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(217, 164, 65, 0.34);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.site-footer__column {
    display: grid;
    gap: 9px;
    align-content: start;
}

.site-footer__column h3 {
    margin: 0 0 3px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0;
}

.site-footer__column a,
.site-footer__column span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.94rem;
}

.site-footer__column a {
    width: fit-content;
    border-bottom: 1px solid transparent;
}

.site-footer__column a:hover,
.site-footer__column a:focus {
    color: var(--appweb-gold);
    border-bottom-color: var(--appweb-gold);
}

.site-footer__column--highlight {
    padding: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(217, 164, 65, 0.28);
    border-radius: 8px;
}

.site-footer__column--highlight a {
    color: var(--appweb-gold);
    font-weight: 900;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0 24px;
    color: rgba(255, 255, 255, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

@media (min-width: 780px) {
    .site-footer__cta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-footer__cta-actions {
        justify-content: end;
    }

    .site-footer__inner {
        grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.75fr)) minmax(210px, 0.9fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: start;
    }

    .site-footer {
        margin-top: 34px;
    }

    .site-footer__cta {
        gap: 16px;
        padding: 24px 0;
    }

    .site-footer__inner {
        gap: 22px;
        padding: 28px 0;
    }

    .site-footer__cta h2 {
        font-size: 1.6rem;
    }

    .site-footer__brand,
    .site-footer__column {
        gap: 10px;
    }

    .site-footer__column--highlight {
        padding: 14px;
    }

    .site-footer__button {
        width: 100%;
    }
}

/* Professional workspace */

body.appweb-pro-page {
    overflow-x: clip;
    background: #eef3f0;
}

html:has(body.appweb-pro-page) {
    overflow-x: clip;
}

body.appweb-pro-page .site-main {
    width: min(1480px, calc(100% - 32px));
    padding-top: 24px;
    padding-bottom: 32px;
}

body.appweb-pro-page .site-footer {
    display: none;
}

.appweb-pro-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    min-height: 780px;
    overflow: hidden;
    background: #f5f8f6;
    border: 1px solid rgba(7, 61, 52, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(7, 45, 38, 0.12);
}

.appweb-pro-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 14px 16px;
    color: rgba(255, 255, 255, 0.78);
    background: #073d34;
    border-top: 4px solid var(--appweb-gold);
}

.appweb-pro-sidebar__identity {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 0 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.appweb-pro-sidebar__logo {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    color: #15362f;
    background: #ffffff;
    border: 1px solid rgba(217, 164, 65, 0.68);
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 900;
}

.appweb-pro-sidebar__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-pro-sidebar__identity small,
.appweb-pro-sidebar__identity strong,
.appweb-pro-sidebar__identity span {
    display: block;
    min-width: 0;
}

.appweb-pro-sidebar__identity small {
    color: var(--appweb-gold);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-pro-sidebar__identity strong {
    overflow: hidden;
    margin: 2px 0 4px;
    color: #ffffff;
    font-size: 0.94rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-pro-sidebar__status {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.appweb-pro-sidebar__status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: #66d9a8;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(102, 217, 168, 0.12);
}

.appweb-pro-nav {
    display: grid;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    margin-top: 18px;
}

.appweb-pro-nav a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.appweb-pro-nav a:hover,
.appweb-pro-nav a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.appweb-pro-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(217, 164, 65, 0.42);
    box-shadow: inset 3px 0 0 var(--appweb-gold);
}

.appweb-pro-nav .dashicons,
.appweb-pro-sidebar__footer .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.appweb-pro-nav b {
    min-width: 24px;
    padding: 2px 6px;
    color: #14382f;
    background: var(--appweb-gold);
    border-radius: 999px;
    font-size: 0.7rem;
    text-align: center;
}

.appweb-pro-sidebar__footer {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding: 18px 8px 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.appweb-pro-sidebar__footer a {
    display: flex;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.appweb-pro-sidebar__footer a:hover,
.appweb-pro-sidebar__footer a:focus {
    color: var(--appweb-gold);
}

.appweb-pro-sidebar__footer small {
    overflow: hidden;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-pro-workspace {
    min-width: 0;
    background: #f5f8f6;
}

.appweb-pro-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 112px;
    padding: 20px 26px;
    background: #ffffff;
    border-bottom: 1px solid #dfe9e4;
}

.appweb-pro-topbar__heading span {
    color: var(--appweb-gold-dark);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-pro-topbar__heading h1 {
    margin: 2px 0 3px;
    color: var(--appweb-green-dark);
    font-size: 1.72rem;
    line-height: 1.15;
}

.appweb-pro-topbar__heading p {
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.9rem;
}

.appweb-pro-topbar__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.appweb-pro-topbar__actions .appweb-button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 42px;
}

.appweb-pro-topbar__actions .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.appweb-pro-user {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 160px;
    padding-left: 12px;
    color: var(--appweb-ink);
    border-left: 1px solid var(--appweb-border);
    text-decoration: none;
}

.appweb-pro-user:hover,
.appweb-pro-user:focus {
    color: var(--appweb-green-dark);
    text-decoration: none;
}

.appweb-pro-user img {
    width: 40px;
    height: 40px;
    border: 2px solid var(--appweb-gold);
    border-radius: 50%;
}

.appweb-pro-user small,
.appweb-pro-user strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-pro-user small {
    color: var(--appweb-muted);
    font-size: 0.68rem;
}

.appweb-pro-user strong {
    max-width: 150px;
    font-size: 0.83rem;
}

.appweb-pro-content {
    display: grid;
    gap: 20px;
    padding: 24px 26px 30px;
}

.appweb-pro-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 4px 0 2px;
}

.appweb-pro-welcome h2 {
    margin: 3px 0 5px;
    color: var(--appweb-green-dark);
    font-size: 1.45rem;
}

.appweb-pro-welcome p,
.appweb-pro-section p,
.appweb-pro-help {
    margin: 0;
    color: var(--appweb-muted);
}

.appweb-pro-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 8px;
}

.appweb-pro-quick-actions a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 38px;
    padding: 7px 11px;
    color: var(--appweb-green-dark);
    background: #ffffff;
    border: 1px solid rgba(217, 164, 65, 0.38);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
}

.appweb-pro-quick-actions a:hover,
.appweb-pro-quick-actions a:focus {
    background: var(--appweb-gold-soft);
}

.appweb-pro-metrics,
.appweb-pro-status-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe9e4;
    border-radius: 6px;
}

.appweb-pro-metrics article,
.appweb-pro-status-summary > span {
    display: grid;
    gap: 3px;
    min-height: 92px;
    align-content: center;
    padding: 15px 17px;
    border-right: 1px solid #e6ede9;
}

.appweb-pro-metrics article:last-child,
.appweb-pro-status-summary > span:last-child {
    border-right: 0;
}

.appweb-pro-metrics span,
.appweb-pro-status-summary span {
    color: var(--appweb-muted);
    font-size: 0.76rem;
    font-weight: 850;
}

.appweb-pro-metrics strong,
.appweb-pro-status-summary b {
    color: var(--appweb-green-dark);
    font-size: 1.72rem;
    line-height: 1;
}

.appweb-pro-metrics small {
    color: #819088;
    font-size: 0.7rem;
}

.appweb-pro-alert,
.appweb-pro-info-banner {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 13px 15px;
    color: #5f4712;
    background: #fff8e7;
    border: 1px solid rgba(217, 164, 65, 0.42);
    border-radius: 6px;
}

.appweb-pro-alert .dashicons,
.appweb-pro-info-banner .dashicons {
    color: var(--appweb-gold-dark);
}

.appweb-pro-alert strong {
    display: block;
    font-size: 0.86rem;
}

.appweb-pro-alert p,
.appweb-pro-info-banner p {
    margin: 1px 0 0;
    color: #725f34;
    font-size: 0.8rem;
}

.appweb-pro-info-banner {
    color: #164a3f;
    background: #edf8f3;
    border-color: #c8e6d9;
}

.appweb-pro-info-banner .dashicons {
    color: var(--appweb-green);
}

.appweb-pro-info-banner p {
    color: #46685f;
}

.appweb-pro-dashboard-grid,
.appweb-pro-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 16px;
}

.appweb-pro-section,
.appweb-pro .appweb-dashboard-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
    align-content: start;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dfe9e4;
    border-radius: 6px;
    box-shadow: none;
}

.appweb-pro-section--wide {
    grid-column: 1 / -1;
}

.appweb-pro-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.appweb-pro-section__header h2,
.appweb-pro .appweb-dashboard-panel h2 {
    margin: 3px 0 0;
    color: var(--appweb-green-dark);
    font-size: 1.12rem;
    line-height: 1.25;
}

.appweb-pro-section__header > strong {
    color: var(--appweb-green);
    font-size: 1.4rem;
}

.appweb-pro-section__header > a {
    font-size: 0.78rem;
    font-weight: 850;
}

.appweb-pro-activity-list {
    display: grid;
}

.appweb-pro-activity-list > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    min-height: 62px;
    padding: 9px 0;
    color: var(--appweb-ink);
    border-top: 1px solid #e8efeb;
    text-decoration: none;
}

.appweb-pro-activity-list > a:first-child {
    border-top: 0;
}

.appweb-pro-activity-list > a:hover strong,
.appweb-pro-activity-list > a:focus strong {
    color: var(--appweb-green);
}

.appweb-pro-activity-list__media,
.appweb-pro-item__media {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    color: var(--appweb-green);
    background: var(--appweb-green-soft);
    border-radius: 6px;
}

.appweb-pro-activity-list__media img,
.appweb-pro-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-pro-activity-list strong,
.appweb-pro-activity-list small,
.appweb-pro-item strong,
.appweb-pro-item small {
    display: block;
}

.appweb-pro-activity-list small,
.appweb-pro-item small {
    margin-top: 2px;
    color: var(--appweb-muted);
    font-size: 0.72rem;
}

.appweb-pro-activity-list em {
    padding: 4px 7px;
    color: var(--appweb-muted);
    background: #edf2ef;
    border-radius: 999px;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 850;
}

.appweb-pro-activity-list em.appweb-status--success {
    color: #0a674f;
    background: #def3e9;
}

.appweb-pro-activity-list em.appweb-status--warning {
    color: #7d5b12;
    background: #fff0c8;
}

.appweb-pro-activity-list b {
    color: var(--appweb-green-dark);
    font-size: 0.82rem;
}

.appweb-pro-progress {
    height: 8px;
    overflow: hidden;
    background: #e5ece8;
    border-radius: 999px;
}

.appweb-pro-progress span {
    display: block;
    height: 100%;
    background: var(--appweb-gold);
    border-radius: inherit;
}

.appweb-pro-profile-health .appweb-button,
.appweb-pro-profile-preview .appweb-button,
.appweb-pro-section > .appweb-button {
    width: fit-content;
}

.appweb-pro-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.appweb-pro-form-layout > .appweb-dashboard-panel--wide {
    grid-column: auto;
}

.appweb-pro .appweb-form {
    gap: 16px;
}

.appweb-pro .appweb-form label span {
    color: #425e55;
    font-size: 0.78rem;
}

.appweb-pro .appweb-form input,
.appweb-pro .appweb-form select,
.appweb-pro .appweb-form textarea {
    min-height: 44px;
    border-color: #cfddd6;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(7, 61, 52, 0.03);
}

.appweb-pro .appweb-form input:focus,
.appweb-pro .appweb-form select:focus,
.appweb-pro .appweb-form textarea:focus {
    outline: 2px solid rgba(8, 116, 95, 0.16);
    border-color: var(--appweb-green);
}

.appweb-pro-profile-preview {
    position: sticky;
    top: 18px;
}

.appweb-pro-profile-preview__media {
    display: grid;
    min-height: 190px;
    place-items: center;
    overflow: hidden;
    color: #789087;
    background: #edf3f0;
    border: 1px dashed #c8d8d0;
    border-radius: 6px;
}

.appweb-pro-profile-preview__media img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.appweb-pro-profile-preview__media .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

.appweb-pro-profile-preview__media small {
    margin-top: -48px;
}

.appweb-pro-profile-preview__body {
    display: grid;
    gap: 8px;
}

.appweb-pro-profile-preview__body h3 {
    margin: 0;
    color: var(--appweb-green-dark);
    font-size: 1.15rem;
}

.appweb-pro-profile-preview__body dl,
.appweb-pro-details {
    display: grid;
    gap: 0;
    margin: 4px 0 0;
}

.appweb-pro-profile-preview__body dl div,
.appweb-pro-details div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #e8efeb;
}

.appweb-pro-profile-preview__body dt,
.appweb-pro-details dt {
    color: var(--appweb-muted);
    font-size: 0.75rem;
}

.appweb-pro-profile-preview__body dd,
.appweb-pro-details dd {
    margin: 0;
    color: var(--appweb-ink);
    font-size: 0.8rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.appweb-pro-help {
    padding-bottom: 3px;
    font-size: 0.82rem;
}

.appweb-pro-editor-page {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.appweb-pro-back {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    width: fit-content;
    color: var(--appweb-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.appweb-pro-editor {
    padding: 22px;
}

.appweb-pro-status-summary > span {
    min-height: 78px;
}

.appweb-pro-status-summary > span b {
    display: block;
    margin-bottom: 4px;
}

.appweb-pro-status-summary--orders > span:last-child b {
    font-size: 1.2rem;
}

.appweb-pro-list-section {
    padding: 0;
    overflow: hidden;
}

.appweb-pro-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #dfe9e4;
}

.appweb-pro-list-toolbar > span {
    flex: 0 0 auto;
    color: var(--appweb-muted);
    font-size: 0.74rem;
    font-weight: 800;
}

.appweb-pro-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
}

.appweb-pro-filter-form label {
    position: relative;
    min-width: 260px;
}

.appweb-pro-filter-form label .dashicons {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 18px;
    height: 18px;
    color: #789087;
    font-size: 18px;
    transform: translateY(-50%);
}

.appweb-pro-filter-form input,
.appweb-pro-filter-form select {
    min-height: 38px;
    padding: 7px 10px;
    color: var(--appweb-ink);
    background: #ffffff;
    border: 1px solid #cfddd6;
    border-radius: 6px;
    font: inherit;
    font-size: 0.8rem;
}

.appweb-pro-filter-form input {
    width: 100%;
    padding-left: 34px;
}

.appweb-pro-filter-form .appweb-button {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 0.78rem;
}

.appweb-pro-filter-form > a {
    padding: 6px;
    color: var(--appweb-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.appweb-pro-table-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

.appweb-pro-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.appweb-pro-table th {
    padding: 10px 13px;
    color: #64766e;
    background: #f1f5f3;
    border-bottom: 1px solid #dfe9e4;
    font-size: 0.68rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.appweb-pro-table td {
    padding: 11px 13px;
    color: #344d45;
    background: #ffffff;
    border-bottom: 1px solid #e7eeea;
    vertical-align: middle;
}

.appweb-pro-table tbody tr:last-child td {
    border-bottom: 0;
}

.appweb-pro-table tbody tr:hover td {
    background: #fbfdfc;
}

.appweb-pro-item {
    display: grid;
    grid-template-columns: 42px minmax(150px, 1fr);
    gap: 10px;
    align-items: center;
}

.appweb-pro-table__price {
    color: var(--appweb-green-dark) !important;
    font-weight: 900;
    white-space: nowrap;
}

.appweb-pro .appweb-status {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.appweb-pro .appweb-status--success {
    color: #09664f;
    background: #dff4e9;
}

.appweb-pro .appweb-status--warning {
    color: #77550b;
    background: #fff0c5;
}

.appweb-pro .appweb-status--danger {
    color: #8d2828;
    background: #fde8e8;
}

.appweb-pro-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    min-width: 134px;
}

.appweb-pro-row-actions form {
    margin: 0;
}

.appweb-pro-row-actions a,
.appweb-pro-row-actions button {
    display: grid;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    place-items: center;
    color: #49665d;
    background: #ffffff;
    border: 1px solid #cfddd6;
    border-radius: 5px;
    box-shadow: none;
    cursor: pointer;
}

.appweb-pro-row-actions a:hover,
.appweb-pro-row-actions a:focus,
.appweb-pro-row-actions button:hover,
.appweb-pro-row-actions button:focus {
    color: var(--appweb-green-dark);
    background: var(--appweb-green-soft);
    border-color: var(--appweb-green);
    text-decoration: none;
}

.appweb-pro-row-actions .is-danger:hover,
.appweb-pro-row-actions .is-danger:focus {
    color: #ffffff;
    background: #9f2b2b;
    border-color: #9f2b2b;
}

.appweb-pro-row-actions .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

.appweb-pro-order-products {
    display: block;
    max-width: 280px;
}

.appweb-pro-order-products small {
    display: block;
    margin-top: 2px;
    color: var(--appweb-muted);
    font-size: 0.68rem;
}

.appweb-pro-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 14px;
    border-top: 1px solid #e4ece8;
}

.appweb-pro-pagination a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--appweb-green-dark);
    background: #ffffff;
    border: 1px solid #cfddd6;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.appweb-pro-pagination a.is-current {
    color: #ffffff;
    background: var(--appweb-green);
    border-color: var(--appweb-green);
}

.appweb-pro-empty {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 190px;
    align-content: center;
    padding: 24px;
    color: var(--appweb-muted);
    text-align: center;
}

.appweb-pro-empty > .dashicons {
    width: 34px;
    height: 34px;
    color: #8ca199;
    font-size: 34px;
}

.appweb-pro-empty strong {
    color: var(--appweb-green-dark);
    font-size: 1rem;
}

.appweb-pro-empty p {
    max-width: 480px;
    margin: 0;
    font-size: 0.8rem;
}

.appweb-pro-empty .appweb-button {
    margin-top: 6px;
}

.appweb-pro-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appweb-pro-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appweb-pro-security-list {
    display: grid;
    gap: 9px;
    margin: 2px 0;
    padding: 0;
    list-style: none;
}

.appweb-pro-security-list li {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #425f56;
    font-size: 0.82rem;
}

.appweb-pro-security-list .dashicons {
    color: var(--appweb-green);
}

@media (max-width: 1100px) {
    .appweb-pro-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .appweb-pro-topbar {
        align-items: flex-start;
    }

    .appweb-pro-user {
        min-width: 44px;
        padding-left: 10px;
    }

    .appweb-pro-user > span {
        display: none;
    }

    .appweb-pro-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-pro-dashboard-grid .appweb-pro-section--wide {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .appweb-pro-nav,
    .appweb-pro-table-wrap {
        contain: layout inline-size paint;
    }

    body.appweb-pro-page .site-main {
        width: min(100% - 20px, 860px);
        padding-top: 12px;
    }

    .appweb-pro-shell {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .appweb-pro-sidebar {
        display: grid;
        padding: 13px;
    }

    .appweb-pro-sidebar__identity {
        padding: 0 2px 12px;
    }

    .appweb-pro-nav {
        display: flex;
        margin-top: 12px;
        padding-bottom: 2px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .appweb-pro-nav::-webkit-scrollbar {
        display: none;
    }

    .appweb-pro-nav a {
        grid-template-columns: 20px auto auto;
        flex: 0 0 auto;
        min-width: max-content;
        scroll-snap-align: start;
    }

    .appweb-pro-nav a.is-active {
        box-shadow: inset 0 -3px 0 var(--appweb-gold);
    }

    .appweb-pro-sidebar__footer {
        display: none;
    }

    .appweb-pro-form-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-pro-profile-preview {
        position: static;
    }
}

@media (max-width: 700px) {
    .appweb-pro-topbar {
        display: grid;
        min-height: 0;
        padding: 17px;
    }

    .appweb-pro-topbar__heading h1 {
        font-size: 1.45rem;
    }

    .appweb-pro-topbar__actions {
        justify-content: space-between;
    }

    .appweb-pro-user {
        display: none;
    }

    .appweb-pro-content {
        gap: 15px;
        padding: 17px;
    }

    .appweb-pro-welcome,
    .appweb-pro-list-toolbar {
        display: grid;
    }

    .appweb-pro-quick-actions {
        justify-content: start;
    }

    .appweb-pro-metrics,
    .appweb-pro-status-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-pro-metrics article:nth-child(2),
    .appweb-pro-status-summary > span:nth-child(2) {
        border-right: 0;
    }

    .appweb-pro-metrics article,
    .appweb-pro-status-summary > span {
        min-height: 82px;
        border-bottom: 1px solid #e6ede9;
    }

    .appweb-pro-metrics article:nth-last-child(-n + 2),
    .appweb-pro-status-summary > span:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .appweb-pro-settings-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-pro-settings-grid .appweb-pro-section--wide {
        grid-column: auto;
    }

    .appweb-pro-filter-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .appweb-pro-filter-form label {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .appweb-pro-filter-form > a {
        grid-column: 1 / -1;
    }

    .appweb-pro-activity-list > a {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .appweb-pro-activity-list b {
        display: none;
    }

    .appweb-pro-profile-preview__body dl div,
    .appweb-pro-details div {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}

@media (max-width: 460px) {
    .appweb-pro-sidebar__identity {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .appweb-pro-sidebar__logo {
        width: 46px;
        height: 46px;
    }

    .appweb-pro-topbar__actions {
        align-items: stretch;
    }

    .appweb-pro-topbar__actions .appweb-button {
        flex: 1 1 auto;
    }

    .appweb-pro-section,
    .appweb-pro .appweb-dashboard-panel,
    .appweb-pro-editor {
        padding: 14px;
    }

    .appweb-pro-quick-actions a {
        width: 100%;
    }
}

/* Contextual footers */

.site-footer--compact {
    margin-top: 0;
    border-top-width: 3px;
}

.site-footer__context,
.site-footer__trust {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.site-footer__context {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
}

.site-footer__context-copy h2 {
    margin: 5px 0 6px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.15;
}

.site-footer__context-copy p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.site-footer__context-copy .appweb-kicker {
    color: var(--appweb-gold);
}

.site-footer__context-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.site-footer__context-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 850;
}

.site-footer__context-nav a:hover,
.site-footer__context-nav a:focus {
    color: #14251f;
    background: var(--appweb-gold);
    border-color: var(--appweb-gold);
}

.site-footer__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__trust span {
    position: relative;
    padding: 13px 18px 13px 34px;
    color: rgba(255, 255, 255, 0.76);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    font-weight: 750;
    text-align: center;
}

.site-footer__trust span:first-child {
    border-left: 0;
}

.site-footer__trust span::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-left: -17px;
    background: var(--appweb-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.site-footer--compact .site-footer__bottom {
    padding-top: 15px;
    padding-bottom: 17px;
    border-top: 0;
    font-size: 0.78rem;
}

.site-footer--checkout .site-footer__context,
.site-footer--workspace .site-footer__context {
    padding-top: 22px;
    padding-bottom: 22px;
}

body.appweb-pro-page .site-footer.site-footer--workspace {
    display: block;
}

/* Client workspace */

body.appweb-client-page {
    overflow-x: clip;
    background: #eef3f0;
}

body.appweb-client-page .site-main {
    width: min(1480px, calc(100% - 32px));
    padding-top: 24px;
    padding-bottom: 32px;
}

.appweb-auth--account {
    display: block;
}

.appweb-client-shell {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    min-height: 760px;
    overflow: hidden;
    background: #f4f8f5;
    border: 1px solid rgba(7, 61, 52, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(7, 45, 38, 0.12);
}

.appweb-client-sidebar {
    display: flex;
    min-width: 0;
    padding: 24px 18px 18px;
    color: rgba(255, 255, 255, 0.78);
    background: #073d34;
    border-right: 1px solid rgba(217, 164, 65, 0.25);
    flex-direction: column;
}

.appweb-client-sidebar .appweb-kicker {
    color: var(--appweb-gold);
}

.appweb-client-sidebar__intro {
    display: grid;
    gap: 15px;
    padding: 0 5px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.appweb-client-user {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.appweb-client-user img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 2px solid var(--appweb-gold);
    border-radius: 50%;
}

.appweb-client-user strong,
.appweb-client-user span {
    display: block;
    min-width: 0;
}

.appweb-client-user strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-client-user span {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-client-nav {
    display: grid;
    gap: 5px;
    padding: 19px 0;
}

.appweb-client-nav a,
.appweb-client-sidebar__footer a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 43px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.appweb-client-nav a:hover,
.appweb-client-nav a:focus,
.appweb-client-sidebar__footer a:hover,
.appweb-client-sidebar__footer a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.appweb-client-nav a.is-active {
    color: #173027;
    background: var(--appweb-gold);
    border-color: rgba(255, 255, 255, 0.22);
}

.appweb-client-nav .dashicons,
.appweb-client-sidebar__footer .dashicons {
    width: 19px;
    height: 19px;
    font-size: 19px;
}

.appweb-client-nav b {
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    place-items: center;
    color: #ffffff;
    background: rgba(7, 61, 52, 0.78);
    border-radius: 999px;
    font-size: 0.7rem;
}

.appweb-client-pro-link {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 0 17px;
    padding: 13px;
    color: #173027;
    background: #fff4d8;
    border: 1px solid rgba(217, 164, 65, 0.6);
    border-radius: 7px;
    text-decoration: none;
}

.appweb-client-pro-link:hover,
.appweb-client-pro-link:focus {
    color: #073d34;
    background: #ffffff;
    text-decoration: none;
}

.appweb-client-pro-link .dashicons {
    width: 26px;
    height: 26px;
    color: var(--appweb-gold-dark);
    font-size: 26px;
}

.appweb-client-pro-link strong,
.appweb-client-pro-link small {
    display: block;
}

.appweb-client-pro-link strong {
    font-size: 0.8rem;
}

.appweb-client-pro-link small {
    margin-top: 2px;
    color: #66746e;
    font-size: 0.68rem;
}

.appweb-client-sidebar__footer {
    display: grid;
    gap: 3px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.appweb-client-workspace {
    min-width: 0;
}

.appweb-client-topbar {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    padding: 22px 28px;
    background: #ffffff;
    border-bottom: 1px solid #dce7e1;
}

.appweb-client-topbar h1 {
    margin: 3px 0 4px;
    color: var(--appweb-green-dark);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.12;
}

.appweb-client-topbar p {
    max-width: 720px;
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.88rem;
}

.appweb-client-cart {
    display: grid;
    grid-template-columns: 21px auto 24px;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    color: var(--appweb-green-dark);
    background: #f5f9f7;
    border: 1px solid #d6e3dc;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.appweb-client-cart:hover,
.appweb-client-cart:focus {
    color: var(--appweb-green-dark);
    background: #fff8e8;
    border-color: rgba(217, 164, 65, 0.6);
    text-decoration: none;
}

.appweb-client-cart b {
    display: grid;
    width: 24px;
    height: 24px;
    color: #ffffff;
    background: var(--appweb-green);
    border-radius: 50%;
    place-items: center;
    font-size: 0.7rem;
}

.appweb-client-content {
    display: grid;
    gap: 18px;
    padding: 24px 28px 30px;
}

.appweb-client-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: end;
    padding: 27px 29px;
    color: #ffffff;
    background: #0d594b;
    border: 1px solid rgba(217, 164, 65, 0.36);
    border-radius: 8px;
}

.appweb-client-welcome .appweb-kicker {
    color: #f0c469;
}

.appweb-client-welcome h2 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.8vw, 2.4rem);
    line-height: 1.08;
}

.appweb-client-welcome p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.appweb-client-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.appweb-client-welcome .appweb-button:not(.appweb-button--primary) {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
}

.appweb-client-status {
    display: grid;
    min-width: 190px;
    padding: 15px 0 2px 19px;
    border-left: 2px solid var(--appweb-gold);
}

.appweb-client-status span,
.appweb-client-status small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.appweb-client-status strong {
    margin: 2px 0;
    color: #ffffff;
    font-size: 1.08rem;
}

.appweb-client-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.appweb-client-metrics article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 88px;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid #dbe7e0;
    border-radius: 8px;
}

.appweb-client-metrics .dashicons {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--appweb-green-dark);
    background: var(--appweb-green-soft);
    border-radius: 7px;
    place-items: center;
    font-size: 21px;
}

.appweb-client-metrics small,
.appweb-client-metrics strong {
    display: block;
}

.appweb-client-metrics small {
    color: var(--appweb-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.appweb-client-metrics strong {
    color: var(--appweb-green-dark);
    font-size: 1.35rem;
    line-height: 1.1;
}

.appweb-client-metrics a {
    color: var(--appweb-gold-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.appweb-client-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    gap: 14px;
    align-items: stretch;
}

.appweb-client-section,
.appweb-client-photo-settings,
.appweb-client-woocommerce {
    min-width: 0;
    padding: 21px;
    background: #ffffff;
    border: 1px solid #dbe7e0;
    border-radius: 8px;
}

.appweb-client-section__header {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.appweb-client-section__header h2,
.appweb-client-photo-settings h2 {
    margin: 3px 0 0;
    color: var(--appweb-green-dark);
    font-size: 1.18rem;
}

.appweb-client-section__header > a {
    color: var(--appweb-gold-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.appweb-client-empty-state {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 132px;
    padding: 19px;
    background: #f6faf7;
    border: 1px dashed #cbdcd3;
    border-radius: 7px;
}

.appweb-client-empty-state > .dashicons {
    display: grid;
    width: 44px;
    height: 44px;
    color: var(--appweb-gold-dark);
    background: var(--appweb-gold-soft);
    border-radius: 50%;
    place-items: center;
    font-size: 22px;
}

.appweb-client-empty-state strong {
    color: var(--appweb-green-dark);
}

.appweb-client-empty-state p {
    margin: 3px 0 0;
    color: var(--appweb-muted);
    font-size: 0.83rem;
}

.appweb-client-section--profile {
    display: flex;
    flex-direction: column;
}

.appweb-client-profile-summary {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.appweb-client-profile-summary img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.58);
}

.appweb-client-profile-summary strong,
.appweb-client-profile-summary span {
    display: block;
    overflow-wrap: anywhere;
}

.appweb-client-profile-summary strong {
    color: var(--appweb-green-dark);
    font-size: 0.9rem;
}

.appweb-client-profile-summary span {
    color: var(--appweb-muted);
    font-size: 0.72rem;
}

.appweb-client-section--profile progress {
    width: 100%;
    height: 8px;
    margin: 18px 0 10px;
    overflow: hidden;
    accent-color: var(--appweb-gold);
    border: 0;
    border-radius: 999px;
}

.appweb-client-section--profile p {
    margin: 0 0 18px;
    color: var(--appweb-muted);
    font-size: 0.82rem;
}

.appweb-client-section--profile .appweb-button {
    width: fit-content;
    margin-top: auto;
}

.appweb-client-business-band {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 17px;
    align-items: center;
    padding: 19px 21px;
    background: #fff8e8;
    border: 1px solid rgba(217, 164, 65, 0.45);
    border-radius: 8px;
}

.appweb-client-business-band > .dashicons {
    display: grid;
    width: 50px;
    height: 50px;
    color: var(--appweb-green-dark);
    background: #ffffff;
    border: 1px solid rgba(217, 164, 65, 0.36);
    border-radius: 7px;
    place-items: center;
    font-size: 25px;
}

.appweb-client-business-band h2 {
    margin: 2px 0 3px;
    color: var(--appweb-green-dark);
    font-size: 1.1rem;
}

.appweb-client-business-band p {
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.82rem;
}

.appweb-client-endpoint {
    min-width: 0;
}

.appweb-client-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
    gap: 16px;
    align-items: start;
}

.appweb-client-photo-settings > p {
    margin: 6px 0 18px;
    color: var(--appweb-muted);
    font-size: 0.82rem;
}

.appweb-client-photo-settings .appweb-profile-photo {
    padding-top: 16px;
    border-top: 1px solid var(--appweb-border);
}

.appweb-client-woocommerce .woocommerce-MyAccount-navigation {
    display: none;
}

.appweb-client-woocommerce .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

.appweb-client-woocommerce h2,
.appweb-client-woocommerce h3 {
    color: var(--appweb-green-dark);
}

.appweb-client-woocommerce form {
    display: grid;
    gap: 13px;
    margin: 0;
}

.appweb-client-woocommerce form.woocommerce-EditAccountForm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appweb-client-woocommerce form.woocommerce-EditAccountForm .form-row-first,
.appweb-client-woocommerce form.woocommerce-EditAccountForm .form-row-last {
    float: none;
    width: 100%;
}

.appweb-client-woocommerce .form-row {
    display: grid;
    gap: 6px;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.appweb-client-woocommerce .woocommerce-EditAccountForm .form-row-wide,
.appweb-client-woocommerce .woocommerce-EditAccountForm fieldset,
.appweb-client-woocommerce .woocommerce-EditAccountForm > p:last-child,
.appweb-client-woocommerce .woocommerce-EditAccountForm > input[type="hidden"] {
    grid-column: 1 / -1;
}

.appweb-client-woocommerce label {
    color: #405c53;
    font-size: 0.78rem;
    font-weight: 850;
}

.appweb-client-woocommerce input[type="text"],
.appweb-client-woocommerce input[type="email"],
.appweb-client-woocommerce input[type="tel"],
.appweb-client-woocommerce input[type="password"],
.appweb-client-woocommerce select,
.appweb-client-woocommerce textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--appweb-ink);
    background: #fbfdfb;
    border: 1px solid #cadbd2;
    border-radius: 6px;
    box-shadow: none;
    font: inherit;
}

.appweb-client-woocommerce input:focus,
.appweb-client-woocommerce select:focus,
.appweb-client-woocommerce textarea:focus {
    border-color: var(--appweb-green);
    outline: 3px solid rgba(8, 116, 95, 0.12);
}

.appweb-client-woocommerce fieldset {
    display: grid;
    gap: 13px;
    margin: 7px 0 0;
    padding: 18px;
    background: #f7faf8;
    border: 1px solid #d8e5de;
    border-radius: 7px;
}

.appweb-client-woocommerce legend {
    padding: 0 7px;
    color: var(--appweb-green-dark);
    font-weight: 900;
}

.appweb-client-woocommerce .woocommerce-Button,
.appweb-client-woocommerce button.button,
.appweb-client-woocommerce a.button {
    width: fit-content;
    min-height: 42px;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--appweb-green);
    border: 1px solid var(--appweb-green);
    border-radius: 6px;
    font-weight: 850;
}

.appweb-client-woocommerce table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
}

.appweb-client-woocommerce th,
.appweb-client-woocommerce td {
    padding: 12px;
    border-bottom: 1px solid var(--appweb-border);
    text-align: left;
}

.appweb-client-woocommerce th {
    color: var(--appweb-green-dark);
    background: #f3f8f5;
    font-size: 0.78rem;
}

.appweb-client-woocommerce .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.appweb-client-woocommerce .woocommerce-Address {
    width: auto;
    padding: 18px;
    background: #f7faf8;
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
}

.appweb-client-woocommerce .woocommerce-Address-title {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.appweb-client-woocommerce .woocommerce-Address-title h2,
.appweb-client-woocommerce .woocommerce-Address-title h3 {
    margin: 0;
}

.appweb-client-woocommerce address {
    margin-top: 12px;
    color: var(--appweb-muted);
    font-style: normal;
}

@media (min-width: 900px) {
    .site-footer__context {
        grid-template-columns: minmax(230px, 0.78fr) minmax(320px, 1.35fr) minmax(250px, 0.9fr);
    }

    .site-footer__context-nav {
        justify-content: flex-end;
    }
}

@media (max-width: 1120px) {
    .appweb-client-shell {
        grid-template-columns: 226px minmax(0, 1fr);
    }

    .appweb-client-dashboard-grid,
    .appweb-client-settings-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-client-section--profile {
        min-height: 0;
    }
}

@media (max-width: 860px) {
    body.appweb-client-page .site-main {
        width: min(100% - 24px, 1480px);
        padding-top: 14px;
    }

    .appweb-client-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-client-sidebar {
        padding: 17px;
        border-right: 0;
        border-bottom: 1px solid rgba(217, 164, 65, 0.32);
    }

    .appweb-client-sidebar__intro {
        display: flex;
        gap: 18px;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 15px;
    }

    .appweb-client-sidebar__intro > .appweb-kicker {
        display: none;
    }

    .appweb-client-user {
        width: min(100%, 340px);
    }

    .appweb-client-nav {
        display: flex;
        gap: 7px;
        padding: 14px 0 4px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .appweb-client-nav a {
        grid-template-columns: 20px auto;
        min-width: max-content;
    }

    .appweb-client-nav b {
        display: none;
    }

    .appweb-client-pro-link {
        width: fit-content;
        margin: 12px 0 0;
    }

    .appweb-client-sidebar__footer {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 12px;
    }

    .appweb-client-sidebar__footer a {
        grid-template-columns: 20px auto;
        min-height: 38px;
    }

    .appweb-client-metrics {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .site-footer__context {
        gap: 18px;
        padding: 24px 0 21px;
    }

    .site-footer__context-nav a {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .site-footer__trust {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__trust span {
        padding: 10px 14px 10px 31px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
        text-align: left;
    }

    .site-footer__trust span:first-child {
        border-top: 0;
    }

    body.appweb-client-page .site-main {
        width: min(100% - 16px, 1480px);
        padding-bottom: 20px;
    }

    .appweb-client-shell {
        min-height: 0;
    }

    .appweb-client-topbar {
        display: grid;
        min-height: 0;
        padding: 18px;
    }

    .appweb-client-cart {
        width: fit-content;
    }

    .appweb-client-content {
        padding: 16px;
    }

    .appweb-client-welcome {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px;
    }

    .appweb-client-status {
        min-width: 0;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .appweb-client-metrics article {
        min-height: 78px;
    }

    .appweb-client-section,
    .appweb-client-photo-settings,
    .appweb-client-woocommerce {
        padding: 16px;
    }

    .appweb-client-section__header {
        align-items: flex-start;
    }

    .appweb-client-empty-state,
    .appweb-client-business-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-client-empty-state > .dashicons,
    .appweb-client-business-band > .dashicons {
        display: none;
    }

    .appweb-client-empty-state .appweb-button,
    .appweb-client-business-band .appweb-button {
        width: fit-content;
    }

    .appweb-client-woocommerce .woocommerce-Addresses {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-client-woocommerce form.woocommerce-EditAccountForm {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-client-woocommerce .woocommerce-EditAccountForm .form-row-wide,
    .appweb-client-woocommerce .woocommerce-EditAccountForm fieldset,
    .appweb-client-woocommerce .woocommerce-EditAccountForm > p:last-child,
    .appweb-client-woocommerce .woocommerce-EditAccountForm > input[type="hidden"] {
        grid-column: auto;
    }

    .appweb-client-woocommerce table,
    .appweb-client-woocommerce thead,
    .appweb-client-woocommerce tbody,
    .appweb-client-woocommerce tr,
    .appweb-client-woocommerce th,
    .appweb-client-woocommerce td {
        display: block;
        width: 100%;
    }

    .appweb-client-woocommerce thead {
        display: none;
    }

    .appweb-client-woocommerce tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--appweb-border);
    }

    .appweb-client-woocommerce td {
        padding: 7px 10px;
        border: 0;
    }
}

/* Operational marketplace workflows */
.appweb-form-subsection {
    display: grid;
    gap: 18px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--appweb-border);
}

.appweb-form [hidden] {
    display: none !important;
}

.appweb-form-subsection h3,
.appweb-ad-crop-editor h3 {
    margin: 4px 0 5px;
    font-size: 1.18rem;
}

.appweb-form-subsection p,
.appweb-ad-crop-editor p {
    max-width: 720px;
    margin: 0;
    color: var(--appweb-muted);
}

.appweb-form-check {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 3px 10px;
    min-height: 48px;
}

.appweb-form-check input[type="hidden"] {
    display: none;
}

.appweb-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--appweb-green);
}

.appweb-form-check small {
    grid-column: 2;
}

.appweb-form-fieldset {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
    gap: 14px 22px;
    margin: 0;
    padding: 17px 18px;
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
}

.appweb-form-fieldset legend {
    padding: 0 7px;
    color: var(--appweb-green-dark);
    font-weight: 800;
}

.appweb-offer-facts {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--appweb-border);
    border-bottom: 1px solid var(--appweb-border);
}

.appweb-offer-facts h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.appweb-offer-facts dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 0;
}

.appweb-offer-facts dl div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
}

.appweb-offer-facts dt {
    color: var(--appweb-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.appweb-offer-facts dd {
    margin: 0;
    font-weight: 700;
}

.appweb-offer-facts > p {
    margin: 14px 0 0;
}

.appweb-pro-order-link {
    display: inline-grid;
    gap: 2px;
    color: var(--appweb-green-dark);
    text-decoration: none;
}

.appweb-pro-order-link small,
.appweb-pro-cell-note {
    display: block;
    margin-top: 4px;
    color: var(--appweb-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.appweb-pro-order-detail {
    display: grid;
    gap: 18px;
}

.appweb-pro-order-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 4px solid var(--appweb-gold);
}

.appweb-pro-order-hero h2,
.appweb-pro-order-hero p {
    margin: 4px 0 0;
}

.appweb-pro-order-grid,
.appweb-pro-order-workflow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.appweb-pro-order-grid address {
    color: var(--appweb-green-dark);
    font-style: normal;
    line-height: 1.7;
}

.appweb-pro-order-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
}

.appweb-pro-order-contact a {
    color: var(--appweb-green);
    font-weight: 700;
}

.appweb-pro-order-timeline {
    display: grid;
    gap: 0;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.appweb-pro-order-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;
    min-height: 42px;
    color: var(--appweb-muted);
}

.appweb-pro-order-timeline li::after {
    position: absolute;
    top: 16px;
    bottom: -4px;
    left: 6px;
    width: 2px;
    background: #d9e5df;
    content: "";
}

.appweb-pro-order-timeline li:last-child::after {
    display: none;
}

.appweb-pro-order-timeline li > span {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    border: 2px solid #b8cbc2;
    border-radius: 50%;
    background: #fff;
}

.appweb-pro-order-timeline li.is-complete,
.appweb-pro-order-timeline li.is-current {
    color: var(--appweb-green-dark);
}

.appweb-pro-order-timeline li.is-complete > span,
.appweb-pro-order-timeline li.is-current > span {
    border-color: var(--appweb-green);
    background: var(--appweb-green);
}

.appweb-pro-order-timeline li.is-current > span {
    box-shadow: 0 0 0 4px rgba(15, 107, 87, 0.14);
}

.appweb-customer-vendor-statuses {
    margin-top: 28px;
}

.appweb-customer-vendor-statuses > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.appweb-customer-vendor-statuses article {
    padding: 18px;
    border: 1px solid var(--appweb-border);
    border-top: 3px solid var(--appweb-gold);
    border-radius: 7px;
    background: #fff;
}

.appweb-customer-vendor-statuses h3 {
    margin: 5px 0 12px;
    font-size: 1rem;
}

.appweb-ad-crop-editor {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(280px, 1fr);
    gap: 18px 24px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
    background: #f7faf8;
}

.appweb-ad-preview-frame {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(217, 164, 65, 0.55);
    border-radius: 7px;
    background: #e8f0ec;
}

.appweb-ad-crop-editor[data-slot="home"] .appweb-ad-preview-frame {
    aspect-ratio: 16 / 7;
}

.appweb-ad-crop-editor[data-slot="sidebar"] .appweb-ad-preview-frame {
    aspect-ratio: 4 / 5;
}

.appweb-ad-crop-editor[data-slot="popup"] .appweb-ad-preview-frame {
    aspect-ratio: 4 / 3;
}

.appweb-ad-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appweb-ad-preview-frame > span {
    max-width: 220px;
    padding: 16px;
    color: var(--appweb-muted);
    text-align: center;
}

.appweb-ad-crop-controls {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.appweb-ad-crop-controls input[type="range"] {
    padding: 0;
    accent-color: var(--appweb-green);
}

.appweb-sponsored-banner {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
    width: min(1180px, calc(100% - 40px));
    min-height: 250px;
    margin: 26px auto 8px;
    overflow: hidden;
    border-top: 4px solid var(--appweb-gold);
    background: var(--appweb-green-dark);
    color: #fff;
}

.appweb-sponsored-banner__media,
.appweb-sponsored-banner__media img {
    width: 100%;
    height: 100%;
    min-height: 246px;
}

.appweb-sponsored-banner__media img {
    display: block;
    object-fit: cover;
}

.appweb-sponsored-banner__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px clamp(24px, 4vw, 52px);
}

.appweb-sponsored-banner__body .appweb-kicker {
    color: #f4d98d;
}

.appweb-sponsored-banner__body h2 {
    margin: 7px 0 10px;
    color: #fff;
    font-size: 2rem;
}

.appweb-sponsored-banner__body p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
}

.appweb-ad-popup {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.appweb-ad-popup[hidden] {
    display: none;
}

.appweb-ad-popup__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(3, 28, 24, 0.72);
    cursor: default;
}

.appweb-ad-popup__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1fr);
    width: min(820px, 100%);
    max-height: min(680px, calc(100vh - 40px));
    overflow: auto;
    border-top: 4px solid var(--appweb-gold);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(2, 23, 19, 0.32);
}

.appweb-ad-popup__close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(7, 61, 52, 0.18);
    border-radius: 50%;
    background: #fff;
    color: var(--appweb-green-dark);
    font-size: 1.45rem;
    cursor: pointer;
}

.appweb-ad-popup__media,
.appweb-ad-popup__media img {
    width: 100%;
    height: 100%;
    min-height: 410px;
}

.appweb-ad-popup__media img {
    display: block;
    object-fit: cover;
}

.appweb-ad-popup__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 52px 36px 40px;
}

.appweb-ad-popup__body h2 {
    margin: 7px 0 8px;
    font-size: 1.7rem;
}

.appweb-ad-popup__body > p {
    color: var(--appweb-muted);
}

.appweb-ad-popup__business {
    margin: 0;
    color: var(--appweb-green) !important;
    font-weight: 800;
}

body.appweb-popup-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .appweb-pro-order-grid,
    .appweb-pro-order-workflow,
    .appweb-ad-crop-editor,
    .appweb-sponsored-banner,
    .appweb-ad-popup__dialog {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-sponsored-banner {
        width: min(100% - 24px, 1180px);
    }

    .appweb-sponsored-banner__media,
    .appweb-sponsored-banner__media img {
        min-height: 210px;
        max-height: 280px;
    }

    .appweb-sponsored-banner__body h2 {
        font-size: 1.55rem;
    }

    .appweb-ad-popup__media,
    .appweb-ad-popup__media img {
        min-height: 220px;
        max-height: 280px;
    }

    .appweb-ad-popup__body {
        padding: 26px 24px 30px;
    }
}

@media (max-width: 600px) {
    .appweb-form-fieldset,
    .appweb-ad-crop-controls,
    .appweb-offer-facts dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-pro-order-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .appweb-ad-crop-editor {
        padding: 16px;
    }

    .appweb-ad-popup {
        padding: 10px;
    }

    .appweb-ad-popup__dialog {
        max-height: calc(100vh - 20px);
    }
}

/* Marketplace finance, leads and campaign billing */
.appweb-pro-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.appweb-price-on-request {
    display: inline-block;
    color: var(--appweb-green-dark);
    font-size: 1.05rem;
    font-weight: 850;
}

.appweb-service-request {
    display: grid;
    gap: 12px;
    margin: 26px 0;
    padding: 24px;
    border: 1px solid var(--appweb-border);
    border-top: 4px solid var(--appweb-gold);
    border-radius: 7px;
    background: #f8fbf9;
}

.appweb-service-request h2,
.appweb-service-request > p {
    margin: 0;
}

.appweb-service-request > p {
    color: var(--appweb-muted);
}

.appweb-service-request .appweb-form {
    margin-top: 6px;
}

.appweb-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.appweb-ad-quote {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(217, 164, 65, 0.48);
    border-radius: 7px;
    background: rgba(217, 164, 65, 0.32);
}

.appweb-ad-quote > div {
    display: grid;
    gap: 5px;
    min-height: 82px;
    align-content: center;
    padding: 14px 16px;
    background: #fffdf7;
}

.appweb-ad-quote > div span {
    color: var(--appweb-muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.appweb-ad-quote > div strong {
    color: var(--appweb-green-dark);
    font-size: 1.15rem;
}

.appweb-ad-quote > small {
    grid-column: 1 / -1;
    padding: 10px 14px;
    color: #6c531b;
    background: #fff8e7;
}

.appweb-request-message {
    margin: 0;
    color: var(--appweb-text);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

/* Business directory */

.appweb-business-directory {
    display: grid;
    gap: 26px;
}

.appweb-directory-hero {
    position: relative;
    display: grid;
    gap: 28px;
    overflow: hidden;
    padding: 38px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(5, 53, 45, 0.98), rgba(8, 116, 95, 0.86)),
        url("assets/auth-market-bg.png") center / cover no-repeat;
    border: 1px solid rgba(217, 164, 65, 0.34);
    border-radius: 8px;
    box-shadow: 0 22px 48px rgba(7, 61, 52, 0.16);
}

.appweb-directory-hero__content {
    align-self: center;
}

.appweb-directory-hero .appweb-kicker {
    color: var(--appweb-gold);
}

.appweb-directory-hero h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    color: #ffffff;
    font-size: 3.4rem;
    line-height: 1;
}

.appweb-directory-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
}

.appweb-directory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-self: end;
    margin: 0;
}

.appweb-directory-stats div {
    min-width: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.appweb-directory-stats dt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.appweb-directory-stats dd {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.appweb-directory-filters {
    display: grid;
    gap: 18px;
    padding: 20px;
    background: var(--appweb-surface);
    border: 1px solid rgba(217, 164, 65, 0.34);
    border-top: 3px solid var(--appweb-gold);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(38, 47, 39, 0.08);
}

.appweb-directory-filters__heading,
.appweb-directory-results__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.appweb-directory-filters__heading h2,
.appweb-directory-results__header h2 {
    margin: 3px 0 0;
    color: var(--appweb-green-dark);
    font-size: 1.45rem;
    line-height: 1.16;
}

.appweb-directory-filters__heading > a {
    color: var(--appweb-gold-dark);
    font-weight: 900;
}

.appweb-directory-filters__fields {
    display: grid;
    gap: 12px;
}

.appweb-directory-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.appweb-directory-field > span {
    color: var(--appweb-green-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.appweb-directory-field input,
.appweb-directory-field select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 13px;
    color: var(--appweb-ink);
    background: #ffffff;
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
    font: inherit;
}

.appweb-directory-field input:focus,
.appweb-directory-field select:focus {
    outline: 3px solid rgba(8, 116, 95, 0.14);
    border-color: var(--appweb-green);
}

.appweb-directory-filters__fields button {
    min-height: 48px;
    align-self: end;
    padding: 0 20px;
    color: #ffffff;
    background: var(--appweb-green);
    border: 1px solid var(--appweb-green);
    border-radius: 7px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.appweb-directory-filters__fields button:hover,
.appweb-directory-filters__fields button:focus {
    background: var(--appweb-green-dark);
    border-color: var(--appweb-gold);
}

.appweb-directory-results {
    display: grid;
    gap: 18px;
}

.appweb-directory-results__header {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(154, 107, 22, 0.22);
}

.appweb-directory-results__header p {
    max-width: 520px;
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.9rem;
    text-align: right;
}

.appweb-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.appweb-directory-card {
    display: grid;
    overflow: hidden;
    background: var(--appweb-surface);
    border: 1px solid rgba(154, 107, 22, 0.2);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(38, 47, 39, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.appweb-directory-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 164, 65, 0.72);
    box-shadow: 0 20px 42px rgba(7, 61, 52, 0.13);
}

.appweb-directory-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--appweb-green-dark);
}

.appweb-directory-card__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(5, 43, 36, 0.66));
    pointer-events: none;
}

.appweb-directory-card__media > img,
.appweb-directory-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.appweb-directory-card:hover .appweb-directory-card__media > img {
    transform: scale(1.025);
}

.appweb-directory-card__placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--appweb-green), var(--appweb-green-dark));
}

.appweb-directory-card__placeholder img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.appweb-directory-card__sector {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 6px 9px;
    color: var(--appweb-green-dark);
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(217, 164, 65, 0.46);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-directory-card__body {
    display: grid;
    gap: 10px;
    min-height: 218px;
    align-content: start;
    padding: 17px;
}

.appweb-directory-card__verified {
    width: fit-content;
    color: var(--appweb-green);
    font-size: 0.72rem;
    font-weight: 900;
}

.appweb-directory-card__verified > span {
    color: var(--appweb-gold-dark);
}

.appweb-directory-card h2 {
    margin: 0;
    color: var(--appweb-ink);
    font-size: 1.24rem;
    line-height: 1.18;
}

.appweb-directory-card h2 a {
    color: inherit;
    text-decoration: none;
}

.appweb-directory-card__body > p {
    margin: 0;
    color: var(--appweb-muted);
    font-size: 0.9rem;
}

.appweb-directory-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--appweb-border);
}

.appweb-directory-card__footer > span {
    min-width: 0;
    overflow: hidden;
    color: var(--appweb-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appweb-directory-card__footer a {
    flex: 0 0 auto;
    color: var(--appweb-green-dark);
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.appweb-directory-empty {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 30px;
    background: var(--appweb-surface);
    border: 1px dashed rgba(154, 107, 22, 0.36);
    border-radius: 8px;
}

.appweb-directory-empty h2,
.appweb-directory-empty p {
    margin: 0;
}

.appweb-directory-empty .appweb-kicker {
    color: var(--appweb-gold-dark);
}

.appweb-directory-results .navigation.pagination {
    margin-top: 4px;
}

.appweb-directory-results .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appweb-directory-results .page-numbers {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 7px 10px;
    color: var(--appweb-green-dark);
    background: var(--appweb-surface);
    border: 1px solid var(--appweb-border);
    border-radius: 7px;
    font-weight: 900;
}

.appweb-directory-results .page-numbers.current,
.appweb-directory-results a.page-numbers:hover,
.appweb-directory-results a.page-numbers:focus {
    color: #ffffff;
    background: var(--appweb-green);
    border-color: var(--appweb-green);
    text-decoration: none;
}

@media (min-width: 640px) {
    .appweb-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-directory-filters__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appweb-directory-field--search {
        grid-column: 1 / -1;
    }
}

@media (min-width: 780px) {
    .appweb-directory-hero {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.44fr);
        align-items: end;
    }
}

@media (min-width: 960px) {
    .appweb-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .appweb-directory-filters__fields {
        grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(150px, 1fr)) auto;
    }

    .appweb-directory-field--search {
        grid-column: auto;
    }
}

@media (max-width: 779px) {
    .appweb-directory-hero {
        padding: 28px;
    }

    .appweb-directory-hero h1 {
        font-size: 2.5rem;
    }

    .appweb-directory-results__header {
        display: grid;
        align-items: start;
    }

    .appweb-directory-results__header p {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .appweb-directory-hero {
        gap: 22px;
        padding: 22px;
    }

    .appweb-directory-hero h1 {
        font-size: 2.05rem;
    }

    .appweb-directory-stats {
        gap: 6px;
    }

    .appweb-directory-stats div {
        padding: 10px 8px;
    }

    .appweb-directory-stats dt {
        font-size: 0.62rem;
    }

    .appweb-directory-stats dd {
        font-size: 1.45rem;
    }

    .appweb-directory-filters {
        padding: 16px;
    }

    .appweb-directory-filters__heading {
        align-items: start;
    }

}

.appweb-pro-status-summary--finance b {
    font-size: 1.25rem;
}

.appweb-pro-status-summary--finance {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.appweb-pro-finance-table td,
.appweb-pro-finance-table th {
    white-space: nowrap;
}

.appweb-pro-finance-table td:first-child,
.appweb-pro-finance-table th:first-child {
    white-space: normal;
}

@media (max-width: 1100px) {
    .appweb-pro-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .appweb-pro-metrics,
    .appweb-ad-quote {
        grid-template-columns: minmax(0, 1fr);
    }

    .appweb-ad-quote > small {
        grid-column: auto;
    }

    .appweb-service-request {
        padding: 18px;
    }
}

/* Checkout réduit à l'identité, la remise et le paiement. */
body.woocommerce-checkout.appweb-checkout-single-address .wc-block-checkout__use-address-for-billing,
body.woocommerce-checkout .wc-block-components-address-form__country {
    display: none !important;
}

body.woocommerce-checkout.appweb-checkout-pickup-only .wc-block-components-address-form__address_1,
body.woocommerce-checkout.appweb-checkout-pickup-only .wc-block-components-address-form__address_2,
body.woocommerce-checkout.appweb-checkout-pickup-only .wc-block-components-address-form__city,
body.woocommerce-checkout.appweb-checkout-pickup-only .wc-block-components-address-form__state,
body.woocommerce-checkout.appweb-checkout-pickup-only .wc-block-components-address-form__postcode {
    display: none !important;
}

body.woocommerce-checkout.appweb-checkout-pickup-only #shipping-fields .wc-block-components-address-card-wrapper {
    display: none !important;
}

body.woocommerce-checkout.appweb-checkout-pickup-only #shipping-fields .wc-block-components-address-form-wrapper {
    height: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
    visibility: visible !important;
}

body.woocommerce-checkout.appweb-checkout-pickup-only #shipping-fields .wc-block-components-address-form {
    visibility: visible !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    border-bottom: 1px solid rgba(0, 84, 68, 0.14);
    margin: 0;
    padding: 24px 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step:first-child {
    padding-top: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 16px;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
    border-color: rgba(0, 84, 68, 0.18);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
    background: rgba(0, 112, 87, 0.06);
    border-color: var(--appweb-gold);
}

body.woocommerce-checkout #shipping-fields .wc-block-components-address-form {
    row-gap: 14px;
}

body.woocommerce-checkout.appweb-checkout-pickup-only #shipping-fields {
    padding-bottom: 20px;
}

.appweb-checkout-status {
    margin: 12px 0 0;
    color: var(--appweb-emerald);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

body.appweb-checkout-processing .wc-block-components-checkout-place-order-button {
    cursor: progress;
}

@media (max-width: 620px) {
    body.woocommerce-checkout .wc-block-components-checkout-step {
        padding: 20px 0;
    }
}
