:root {
    --ab-green: #0f5f3a;
    --ab-green-strong: #0a432a;
    --ab-green-soft: #e9f5ee;
    --ab-gold: #f2b705;
    --ab-clay: #b8562f;
    --ab-sun-soft: #fff7d6;
    --ab-ink: #1f2723;
}

body {
    background-color: #f7f8f6;
    color: var(--ab-ink);
}

.card {
    border-radius: 12px;
}

.navbar-brand {
    font-size: 1.35rem;
}

.brand-accent {
    color: var(--ab-gold);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: .65rem 0;
    }

    .navbar .container {
        align-items: center;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        flex-basis: 100%;
        width: 100%;
        margin-top: .75rem;
        padding: .75rem;
        background: #fff;
        border: 1px solid #e0e5e8;
        border-radius: 10px;
        box-shadow: 0 14px 28px rgba(25, 39, 52, .08);
    }

    .navbar-nav {
        gap: .15rem;
    }

    .navbar-nav.ms-3 {
        margin-left: 0 !important;
    }

    .navbar-nav .nav-link {
        padding: .55rem .65rem;
        border-radius: 8px;
    }

    .navbar-nav .nav-link:hover {
        background: #f4f8f5;
    }

    .navbar-nav .btn {
        display: block;
        width: 100%;
        margin: .25rem 0 !important;
        text-align: left;
    }

    .category-dropdown-menu {
        width: 100%;
        box-shadow: none;
        border-radius: 10px;
    }

    .category-dropdown-menu.show {
        grid-template-columns: 1fr;
    }
}

.text-success {
    color: var(--ab-green) !important;
}

.bg-success {
    background-color: var(--ab-green) !important;
}

.btn-success {
    background-color: var(--ab-green);
    border-color: var(--ab-green);
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--ab-green-strong);
    border-color: var(--ab-green-strong);
}

.btn-outline-success {
    color: var(--ab-green);
    border-color: var(--ab-green);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--ab-green);
    border-color: var(--ab-green);
}

.page-item.active .page-link {
    background-color: var(--ab-green);
    border-color: var(--ab-green);
}

.marketplace-home {
    background: #edf1ec;
    border-bottom: 1px solid #dde3e7;
    padding: 1rem 0 1.25rem;
}

.marketplace-home .container {
    width: calc(100% - 48px);
    max-width: 1780px;
}

.market-search {
    display: flex;
    max-width: 1100px;
    margin: 0 auto 1rem;
    background: #fff;
    border: 1px solid #dde4e8;
    border-radius: 999px;
    padding: .35rem;
    box-shadow: 0 8px 22px rgba(25, 39, 52, .08);
}

.market-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: .7rem 1.05rem;
    background: transparent;
    font-size: 1rem;
}

.market-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ab-gold), #f6cc49);
    color: var(--ab-ink);
    font-weight: 700;
    padding: 0 1.8rem;
}

.market-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 340px;
    gap: 1.25rem;
    align-items: start;
}

.category-rail,
.quick-panel {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(25, 39, 52, .08);
}

.category-rail {
    padding: .75rem;
    height: auto;
    overflow: visible;
}

.category-rail a {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #24302c;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    padding: .5rem .45rem;
    border-radius: 8px;
}

.category-rail a:hover {
    background: #eef8f2;
    color: var(--ab-green);
}

.category-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #d9d0b6;
    border-radius: 50%;
    color: var(--ab-green);
    font-size: .82rem;
    flex: 0 0 28px;
    background: linear-gradient(135deg, #fff 0%, #fff8df 100%);
}

.category-icon-svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-dropdown-menu {
    width: min(620px, calc(100vw - 2rem));
    padding: .7rem;
    border: 1px solid #e0e6e2;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(25, 39, 52, .12);
}

.category-dropdown-menu.show {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .15rem;
}

.category-dropdown-menu .dropdown-divider {
    grid-column: 1 / -1;
    width: 100%;
}

.category-dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    border-radius: 9px;
    padding: .55rem .6rem;
    font-weight: 650;
}

.category-dropdown-item:hover,
.category-dropdown-item:focus {
    background: #eef8f2;
    color: var(--ab-green);
}

.promo-banner {
    min-height: 600px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ab-green);
    box-shadow: 0 10px 24px rgba(25, 39, 52, .08);
    display: block;
    text-decoration: none;
    position: relative;
}

.promo-slideshow {
    position: absolute;
    inset: 0;
}

.promo-banner-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity .7s ease;
}

.promo-banner-img.is-active {
    opacity: 1;
}

.promo-copy {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(500px, 52%);
    padding: clamp(1.5rem, 3vw, 2.75rem);
    color: #fff;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 62, 42, .94) 0%, rgba(3, 62, 42, .82) 58%, rgba(3, 62, 42, .08) 100%);
}

.promo-copy > span {
    display: inline-block;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promo-copy h1 {
    color: #fff;
    font-size: clamp(2.05rem, 3.3vw, 3.25rem);
    font-weight: 850;
    line-height: 1.02;
    max-width: 420px;
    margin-bottom: .85rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

.promo-copy p {
    color: rgba(255, 255, 255, .94);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 360px;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .25rem;
}

.promo-actions .btn {
    --bs-btn-padding-y: .82rem;
    --bs-btn-padding-x: 1.45rem;
    --bs-btn-font-size: 1.08rem;
    border-radius: 8px;
    font-weight: 750;
    min-width: 150px;
}

.promo-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    z-index: 3;
    display: flex;
    gap: .45rem;
    transform: translateX(-50%);
}

.promo-dots span {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, .56);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}

.promo-dots span.is-active {
    background: #f2b705;
}

.quick-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.quick-links-card,
.side-ad-card {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(25, 39, 52, .08);
    overflow: hidden;
}

.quick-links-card a {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: #1d2523;
    text-decoration: none;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #edf1f3;
}

.quick-links-card a:last-child {
    border-bottom: 0;
}

.quick-links-card a:hover {
    background: #f6fbf8;
}

.quick-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(242, 183, 5, .72);
    border-radius: 50%;
    color: var(--ab-green);
    font-weight: 800;
    flex: 0 0 38px;
    background: var(--ab-sun-soft);
}

.quick-icon-svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-links-card small,
.side-ad-card span {
    display: block;
    color: #66736e;
    font-size: .8rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.quick-links-card strong,
.side-ad-card strong {
    display: block;
    font-size: 1.05rem;
}

.side-ad-card {
    min-height: 335px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem;
    background: var(--ab-green-strong);
    position: relative;
}

.side-ad-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 67, 42, .9), rgba(10, 67, 42, .1) 58%);
}

.side-ad-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-ad-card span,
.side-ad-card strong {
    color: #fff;
    position: relative;
    z-index: 1;
}

.side-ad-card strong {
    font-size: 1.25rem;
    line-height: 1.2;
}

.flash-sales-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    background:
        linear-gradient(90deg, rgba(10, 67, 42, .96), rgba(15, 95, 58, .9)),
        linear-gradient(90deg, var(--ab-clay), var(--ab-gold));
    color: #fff;
    border-radius: 4px;
    padding: .9rem 1.35rem;
    box-shadow: 0 10px 24px rgba(10, 67, 42, .18);
    border-bottom: 3px solid var(--ab-gold);
}

.flash-sales-strip strong {
    font-size: 1.25rem;
}

.flash-sales-strip span {
    justify-self: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.flash-sales-strip a {
    justify-self: end;
    color: #ffd15b;
    font-weight: 800;
    text-decoration: none;
}

.mobile-category-strip {
    display: none;
}

.market-account-strip {
    display: none;
    justify-content: center;
    align-items: center;
    gap: .9rem;
    margin-top: .65rem;
    color: #51605a;
    font-weight: 600;
}

.storefront-section {
    width: calc(100% - 48px);
    max-width: 1780px;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.storefront-section .card {
    border: 1px solid #dfe7df !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.storefront-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(31, 39, 35, .12) !important;
}

.storefront-section .card-img-top {
    background: #fff;
}

.featured-product-card .card-img-top {
    height: 145px;
    object-fit: contain;
    object-position: center center;
    padding: .35rem;
}

.featured-product-card .card-body,
.product-card .card-body {
    padding: .9rem;
}

.product-card-title {
    line-height: 1.25;
    min-height: 2.5rem;
    margin-bottom: .55rem;
}

.product-filter-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #27342f;
    text-decoration: none;
    border-radius: 9px;
    padding: .45rem .5rem;
    font-weight: 650;
}

.product-filter-link:hover,
.product-filter-link:focus,
.product-filter-link.is-active {
    background: #eef8f2;
    color: var(--ab-green);
}

.product-filter-link .category-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
}

.product-filter-link .category-icon-svg {
    width: 15px;
    height: 15px;
}

.product-filter-card {
    border-radius: 8px;
    position: sticky;
    top: 88px;
}

.product-card {
    border: 1px solid #dfe7df !important;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 39, 35, .1) !important;
}

.product-card-img {
    height: 170px;
    object-fit: contain;
    object-position: center center;
    background: #fff;
    padding: .35rem;
}

.featured-product-card .card-img-top,
.product-card-img {
    aspect-ratio: 4 / 3;
}

.product-card-media {
    position: relative;
    background: #fff;
    border-bottom: 3px solid rgba(242, 183, 5, .58);
}

.product-card-media .card-img-top {
    display: block;
}

.wishlist-form {
    position: absolute;
    top: .65rem;
    right: .65rem;
}

.wishlist-button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(10, 67, 42, .18);
    border-radius: 50%;
    color: var(--ab-green);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(25, 39, 52, .14);
    transition: transform .15s ease, color .15s ease, background .15s ease;
}

.wishlist-button:hover,
.wishlist-button:focus {
    transform: translateY(-1px);
    color: #b91036;
}

.wishlist-button.is-saved {
    color: #b91036;
    background: #fff6f8;
    border-color: rgba(185, 16, 54, .22);
}

.wishlist-button.is-saved .quick-icon-svg,
.wishlist-detail-button.is-saved .quick-icon-svg {
    fill: currentColor;
}

.wishlist-button .quick-icon-svg {
    width: 19px;
    height: 19px;
}

.wishlist-detail-button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.wishlist-detail-button .quick-icon-svg {
    width: 18px;
    height: 18px;
}

.wishlist-detail-button.is-saved {
    color: #b91036;
    border-color: rgba(185, 16, 54, .5);
    background: #fff6f8;
}

.product-card-actions {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: .5rem;
}

.product-card-actions .btn {
    font-weight: 700;
}

.empty-state-panel {
    border: 1px dashed #cfdcd5;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f5faf7 100%);
    text-align: center;
    padding: 2.4rem 1.5rem;
    box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
}

.empty-state-panel > span {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #cfe1d8;
    border-radius: 50%;
    color: var(--ab-green);
    background: #fff;
    margin-bottom: .9rem;
}

.empty-state-panel h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin-bottom: .45rem;
}

.empty-state-panel p {
    color: #66736e;
    max-width: 560px;
    margin: 0 auto 1.2rem;
}

.product-price {
    color: var(--ab-clay);
    font-size: 1.08rem;
    font-weight: 800;
}

.featured-product-card .badge.text-bg-success,
.product-card .badge.text-bg-success {
    background: var(--ab-green-soft) !important;
    color: var(--ab-green-strong) !important;
    border: 1px solid #b8d8c6;
}

.featured-product-card .badge.text-bg-warning,
.product-card .badge.text-bg-warning {
    background: var(--ab-sun-soft) !important;
    color: #7a5500 !important;
    border: 1px solid #eccb62;
}

.checkout-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.checkout-option-card {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    border: 1px solid #e0e8e4;
    border-radius: 12px;
    padding: .9rem 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.checkout-option-card:hover,
.checkout-option-card:has(input:checked) {
    border-color: #b7d5c5;
    background: #f5faf7;
    box-shadow: 0 10px 24px rgba(31, 39, 35, .07);
}

.checkout-option-card input {
    margin-top: .55rem;
}

.checkout-option-card .quick-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    background: #fff;
}

.checkout-option-card strong,
.checkout-option-card small {
    display: block;
}

.checkout-option-card small {
    color: #66736e;
    margin-top: .2rem;
    line-height: 1.35;
}

.checkout-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    color: #57655f;
    font-size: .86rem;
    font-weight: 700;
}

.checkout-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #dbe7e1;
    border-radius: 999px;
    background: #fff;
    padding: .45rem .7rem;
}

.checkout-trust-strip .quick-icon-svg {
    width: 15px;
    height: 15px;
    color: var(--ab-green);
}

.order-status-card .order-timeline {
    position: relative;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.order-info-tile {
    border: 1px solid #e2e9e5;
    border-radius: 10px;
    background: #fbfdfb;
    padding: .85rem;
}

.order-info-tile-wide {
    grid-column: 1 / -1;
}

.order-info-tile span,
.order-info-tile small {
    display: block;
    color: #66736e;
    font-size: .82rem;
}

.order-info-tile strong {
    display: block;
    color: #18231f;
    margin-top: .15rem;
    overflow-wrap: anywhere;
}

.admin-dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #e0e8e4;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #f3faf6 100%);
    box-shadow: 0 12px 30px rgba(20, 36, 30, .06);
    padding: 1.25rem;
}

.admin-dashboard-hero-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.admin-metric-card {
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.admin-metric-card:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(20, 36, 30, .1) !important;
}

.admin-metric-card span,
.admin-sales-bar span,
.admin-sales-bar strong,
.admin-task-list em,
.admin-reorder-list span {
    display: block;
    color: #66736e;
    font-size: .82rem;
}

.admin-sales-chart {
    display: flex;
    align-items: end;
    gap: 1rem;
    min-height: 165px;
}

.admin-sales-bar {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.admin-sales-bar div {
    max-width: 44px;
    margin: 0 auto .55rem;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--ab-green) 0%, #0a4f35 100%);
}

.admin-task-list,
.admin-attention-stack,
.admin-reorder-list,
.admin-readiness-list,
.admin-payment-breakdown,
.settings-payment-readiness {
    display: grid;
    gap: .65rem;
}

.admin-task-list a,
.admin-attention-stack a,
.admin-reorder-list div,
.admin-payment-breakdown div {
    display: grid;
    gap: .1rem;
    border: 1px solid #e2e9e5;
    border-radius: 10px;
    background: #fff;
    padding: .75rem;
    color: inherit;
    text-decoration: none;
}

.admin-task-list a:hover,
.admin-attention-stack a:hover {
    border-color: #b7d5c5;
    background: #f7fbf8;
}

.admin-attention-stack a {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .65rem;
}

.admin-attention-stack strong {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2faf5;
    color: var(--ab-green);
}

.admin-readiness-list,
.settings-payment-readiness {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-readiness-list span,
.settings-payment-readiness span {
    border: 1px solid #ead9c3;
    border-radius: 10px;
    background: #fff8ef;
    color: #805120;
    font-size: .82rem;
    padding: .55rem .65rem;
}

.admin-readiness-list span.is-ready,
.settings-payment-readiness span.is-ready {
    border-color: #c9e3d2;
    background: #f2faf5;
    color: var(--ab-green);
}

.admin-payment-breakdown div {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.admin-payment-breakdown span {
    color: #66736e;
    font-size: .82rem;
}

.account-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.account-hub-grid a {
    display: block;
    border: 1px solid #e0e8e4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 36, 30, .05);
    padding: 1rem;
    color: inherit;
    text-decoration: none;
}

.account-hub-grid strong {
    display: block;
    color: var(--ab-green);
    font-size: 1.65rem;
    line-height: 1;
}

.account-hub-grid span {
    display: block;
    color: #66736e;
    font-size: .9rem;
    margin-top: .35rem;
}

.settings-banner-preview {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}

.settings-banner-preview label {
    flex: 0 0 180px;
}

.settings-banner-preview img {
    width: 180px;
    height: 88px;
    object-fit: cover;
}

.audit-details-cell {
    max-width: 520px;
    overflow-wrap: anywhere;
}

@media print {
    body {
        background: #fff !important;
    }

    .no-print,
    .admin-sidebar,
    .admin-profile-toggle,
    .settings-section-tabs,
    .nav-pills,
    .report-actions,
    form {
        display: none !important;
    }

    .admin-shell,
    .admin-main {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .report-print-card,
    .card {
        box-shadow: none !important;
        border: 0 !important;
    }

    .report-print-card .card-body {
        padding: 0 !important;
    }

    .table {
        font-size: 11px;
    }

    a {
        color: #111 !important;
        text-decoration: none !important;
    }
}

.products-toolbar {
    background: #fff;
    border: 1px solid #e4e9e6;
    border-radius: 8px;
    padding: .75rem;
}

.homepage-support-section {
    width: calc(100% - 48px);
    max-width: 1780px;
    padding-bottom: 2.5rem;
}

.support-tile {
    display: block;
    min-height: 118px;
    padding: 1rem 1.1rem;
    color: var(--ab-ink);
    background:
        linear-gradient(180deg, rgba(255, 247, 214, .42), rgba(255, 255, 255, .9) 46%),
        #fff;
    border: 1px solid #dfdec9;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(31, 39, 35, .06);
    border-top: 3px solid var(--ab-gold);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.support-tile:hover {
    transform: translateY(-2px);
    border-color: #d5b953;
    box-shadow: 0 12px 26px rgba(31, 39, 35, .11);
}

.support-tile span {
    display: block;
    color: var(--ab-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}

.support-tile strong {
    display: block;
    color: #0f241d;
    font-size: 1.05rem;
    margin-bottom: .25rem;
}

.support-tile small {
    color: #66736e;
}

footer.bg-dark {
    background:
        linear-gradient(135deg, rgba(10, 67, 42, .98), rgba(6, 23, 20, .98)),
        linear-gradient(90deg, var(--ab-green), var(--ab-gold)) !important;
    border-top: 4px solid var(--ab-gold);
}

footer.bg-dark a:hover {
    color: #ffd15b !important;
}

.build-helper-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e4e9e6;
    border-left: 4px solid var(--ab-gold);
    border-radius: 8px;
    padding: .95rem 1rem;
    box-shadow: 0 8px 20px rgba(31, 39, 35, .06);
}

.build-helper-panel span {
    display: block;
    color: var(--ab-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.build-helper-panel strong,
.build-helper-panel small {
    display: block;
}

.build-helper-panel form {
    display: flex;
    gap: .5rem;
    min-width: min(520px, 48%);
}

.build-assistant-hero {
    background: linear-gradient(135deg, #0a432a, #0f5f3a);
    color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.build-assistant-hero span {
    color: #f8d65a;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.build-assistant-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: .3rem 0 .5rem;
}

.build-assistant-hero p {
    color: rgba(255, 255, 255, .82);
    margin: 0;
    max-width: 680px;
}

.assistant-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.assistant-chip-row a {
    color: var(--ab-green);
    background: #fff;
    border: 1px solid #d7e3dd;
    border-radius: 999px;
    padding: .55rem .85rem;
    font-weight: 650;
    text-decoration: none;
}

.assistant-chip-row a:hover {
    background: #eef8f2;
}

.assistant-result-card {
    border-left: 4px solid var(--ab-gold) !important;
}

.assistant-product-tile {
    height: 100%;
    border: 1px solid #e4e9e6;
    border-radius: 8px;
    padding: .5rem;
    background: #fff;
}

.assistant-product-tile img {
    width: 100%;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: .4rem;
    background: #edf1ec;
}

.product-upload-panel {
    border: 1px dashed #b8d2c5;
    border-radius: 10px;
    background: #f7fbf8;
    padding: .9rem;
}

.product-upload-preview {
    width: 100%;
    max-width: 240px;
    height: 160px;
    object-fit: cover;
    background: #edf1ec;
}

.order-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
}

.order-timeline-step {
    border: 1px solid #e1e8e4;
    border-radius: 8px;
    padding: .75rem;
    background: #fff;
    text-align: center;
}

.order-timeline-step span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf1ec;
    color: #66736e;
    font-weight: 800;
    margin-bottom: .35rem;
}

.order-timeline-step strong {
    display: block;
    font-size: .86rem;
}

.order-timeline-step.is-done {
    border-color: #bad9c8;
    background: #f2faf5;
}

.order-timeline-step.is-done span {
    background: var(--ab-green);
    color: #fff;
}

.order-timeline-step.is-cancelled {
    border-color: #f1b5b5;
    background: #fff6f6;
}

.order-timeline-step.is-cancelled span {
    background: #dc3545;
    color: #fff;
}

.settings-readiness-item {
    display: block;
    border: 1px solid #edd0d0;
    border-radius: 999px;
    color: #842029;
    background: #fff7f7;
    padding: .4rem .65rem;
    font-size: .78rem;
    font-weight: 700;
}

.settings-readiness-item.is-complete {
    color: var(--ab-green-strong);
    background: #f2faf5;
    border-color: #c8e1d3;
}

.settings-banner-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .65rem;
}

.settings-banner-preview img {
    width: 100%;
    height: 92px;
    object-fit: cover;
}

.settings-section-tabs {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding: .75rem;
    border: 1px solid #e1e8e4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 36, 30, .05);
}

.settings-section-tabs a {
    flex: 0 0 auto;
    color: var(--ab-green-strong);
    text-decoration: none;
    border: 1px solid #cfe1d8;
    border-radius: 999px;
    padding: .5rem .85rem;
    font-weight: 700;
    font-size: .9rem;
}

.settings-section-tabs a:hover,
.settings-section-tabs a:focus {
    background: #f2faf5;
}

.notification-menu {
    min-width: 320px;
    max-width: min(360px, calc(100vw - 2rem));
}

.notification-menu-item {
    white-space: normal;
}

.notification-list {
    display: grid;
    gap: .85rem;
}

.notification-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e0e6e2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 36, 30, .05);
}

a.notification-card {
    color: inherit;
    text-decoration: none;
}

.notification-card.is-clickable {
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.notification-card.is-clickable:hover,
.notification-card.is-clickable:focus-visible {
    border-color: #8fc9a9;
    box-shadow: 0 12px 28px rgba(20, 36, 30, .09);
    transform: translateY(-1px);
}

.notification-card.is-unread {
    border-color: #b9dac8;
    background: #f4fbf7;
}

.notification-card h2,
.notification-card h3 {
    font-size: 1rem;
    margin-bottom: .25rem;
}

.notification-card p {
    color: #596760;
    margin-bottom: 0;
}

.notification-card time {
    flex: 0 0 auto;
    color: #6a7670;
    font-size: .85rem;
}

.notification-type {
    display: inline-block;
    color: var(--ab-green);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.faq-heading {
    margin-bottom: 1.25rem;
}

.faq-heading span,
.faq-support-card > span {
    display: block;
    color: var(--ab-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.faq-heading h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.faq-heading p {
    color: #66736e;
    max-width: 680px;
}

.faq-accordion {
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(25, 39, 52, .06);
}

.faq-accordion .accordion-item {
    border-left: 0;
    border-right: 0;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    padding: 1.15rem 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--ab-green-strong);
    background: #eef8f2;
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: #394640;
    line-height: 1.65;
    padding: 1.15rem 1.25rem;
}

.faq-support-card {
    position: sticky;
    top: 88px;
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(25, 39, 52, .08);
}

.faq-support-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.faq-support-card p,
.faq-contact-list small {
    color: #66736e;
}

.faq-contact-list {
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
    margin-top: 1rem;
}

.faq-contact-list div {
    padding: .8rem 0;
    border-bottom: 1px solid #edf1f3;
}

.faq-contact-list div:last-child {
    border-bottom: 0;
}

.faq-contact-list small,
.faq-contact-list strong {
    display: block;
}

.contact-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f4f8f5 0%, #ffffff 42%);
}

.contact-hero {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.contact-hero span,
.contact-info-card > span,
.contact-form-card > span {
    display: block;
    color: var(--ab-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.contact-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.contact-hero p,
.contact-info-card p,
.contact-support-note p {
    color: #66736e;
    line-height: 1.65;
}

.contact-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 39, 52, .06);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(25, 39, 52, .08);
}

.contact-info-card {
    position: sticky;
    top: 88px;
    padding: 1.35rem;
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.contact-detail-list {
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
    margin: 1rem 0;
}

.contact-detail-list div {
    padding: .85rem 0;
    border-bottom: 1px solid #edf1f3;
}

.contact-detail-list div:last-child {
    border-bottom: 0;
}

.contact-detail-list small,
.contact-detail-list strong {
    display: block;
}

.contact-detail-list small {
    color: #66736e;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-detail-list strong {
    color: #061714;
    font-size: 1.05rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1rem;
}

.contact-support-note {
    background: #fff7d6;
    border: 1px solid #f0d372;
    border-radius: 8px;
    padding: 1rem;
}

.contact-support-note strong {
    display: block;
    color: #091d18;
    margin-bottom: .25rem;
}

.contact-support-note p {
    margin-bottom: 0;
}

.contact-form-card {
    padding: 1.35rem;
}

.contact-form-card .form-label {
    color: #26342f;
    font-weight: 700;
}

.contact-form-card .form-control {
    border-color: #d8e0dd;
    border-radius: 8px;
    padding: .78rem .9rem;
}

.contact-form-card .form-control:focus {
    border-color: var(--ab-green);
    box-shadow: 0 0 0 .2rem rgba(0, 126, 82, .13);
}

.about-page {
    background: #f4f8f5;
}

.about-hero {
    padding: 3.25rem 0 2.25rem;
    background:
        linear-gradient(135deg, rgba(4, 68, 45, .96), rgba(10, 113, 65, .9)),
        linear-gradient(90deg, #0b5a3b, #f2b705);
    color: #fff;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
    gap: 1.5rem;
    align-items: center;
}

.about-hero span,
.about-story span {
    display: block;
    color: #ffd15b;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

.about-hero h1 {
    max-width: 820px;
    font-size: clamp(2.4rem, 5vw, 4.35rem);
    font-weight: 850;
    line-height: .98;
    margin-bottom: 1rem;
}

.about-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.4rem;
}

.about-hero .btn-outline-success {
    color: #fff;
    border-color: rgba(255, 255, 255, .76);
}

.about-hero .btn-outline-success:hover {
    color: #061714;
    background: #fff;
    border-color: #fff;
}

.about-summary-card {
    background: #fff;
    border-radius: 10px;
    color: #061714;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.about-summary-card div {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #edf1f3;
}

.about-summary-card div:last-child {
    border-bottom: 0;
}

.about-summary-card small,
.about-summary-card strong {
    display: block;
}

.about-summary-card small {
    color: #66736e;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.about-summary-card strong {
    font-size: 1.02rem;
}

.about-section {
    padding: 2rem 0 4rem;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.about-story,
.about-values,
.about-steps {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(25, 39, 52, .06);
}

.about-story {
    padding: 1.35rem;
}

.about-story span {
    color: var(--ab-green);
}

.about-story h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 850;
    margin-bottom: .75rem;
}

.about-story p,
.about-values p,
.about-steps p {
    color: #66736e;
    line-height: 1.65;
}

.about-values {
    display: grid;
}

.about-values div {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid #edf1f3;
}

.about-values div:last-child {
    border-bottom: 0;
}

.about-values strong,
.about-steps strong {
    display: block;
    color: #061714;
    font-size: 1.06rem;
    margin-bottom: .25rem;
}

.about-values p,
.about-steps p {
    margin-bottom: 0;
}

.about-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.25rem;
    overflow: hidden;
}

.about-steps div {
    padding: 1.2rem;
    border-right: 1px solid #edf1f3;
}

.about-steps div:last-child {
    border-right: 0;
}

.about-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--ab-green-strong);
    background: #eef8f2;
    border: 1px solid #c8e1d3;
    border-radius: 50%;
    font-weight: 850;
    margin-bottom: .75rem;
}

.cart-page {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f4f8f5 0%, #ffffff 46%);
}

.cart-heading {
    max-width: 760px;
    margin-bottom: 1.4rem;
}

.cart-heading span,
.cart-empty-panel span,
.cart-summary-card > span {
    display: block;
    color: var(--ab-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.cart-heading h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    margin-bottom: .5rem;
}

.cart-heading p,
.cart-empty-panel p,
.cart-summary-card p {
    color: #66736e;
    line-height: 1.65;
}

.cart-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 39, 52, .06);
}

.cart-empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 1.25rem;
    align-items: stretch;
}

.cart-empty-panel,
.cart-empty-help,
.cart-items-card,
.cart-summary-card,
.cart-recommended {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(25, 39, 52, .08);
}

.cart-empty-panel {
    padding: 2rem;
    min-height: 260px;
}

.cart-empty-panel h2 {
    max-width: 720px;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 850;
    margin-bottom: .75rem;
}

.cart-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

.cart-empty-help {
    overflow: hidden;
}

.cart-empty-help div {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid #edf1f3;
}

.cart-empty-help div:last-child {
    border-bottom: 0;
}

.cart-empty-help small,
.cart-empty-help strong,
.cart-empty-help a {
    display: block;
}

.cart-empty-help small {
    color: #66736e;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cart-empty-help strong {
    color: #061714;
    font-size: 1.08rem;
    margin: .2rem 0;
}

.cart-empty-help a,
.cart-quote-link {
    color: var(--ab-green);
    font-weight: 750;
    text-decoration: none;
}

.cart-recommended {
    margin-top: 1.25rem;
    padding: 1.25rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 1.25rem;
    align-items: start;
}

.cart-items-card {
    overflow: hidden;
}

.cart-table thead th {
    background: #f6f8f7;
    border-bottom: 1px solid #e0e5e8;
    color: #061714;
    font-weight: 800;
    padding: 1rem;
}

.cart-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 260px;
}

.cart-product img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 1px solid #dce4e0;
    border-radius: 8px;
    background: #f4f6f5;
}

.cart-product a {
    color: #061714;
    font-weight: 750;
    text-decoration: none;
}

.cart-quantity-form {
    display: flex;
    gap: .45rem;
    justify-content: center;
}

.cart-quantity-form .form-control {
    max-width: 78px;
}

.cart-summary-card {
    position: sticky;
    top: 88px;
    padding: 1.25rem;
}

.cart-summary-card h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin-bottom: 1rem;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-top: 1px solid #edf1f3;
}

.cart-summary-row span,
.cart-summary-row small {
    color: #66736e;
}

.cart-summary-total {
    border-bottom: 1px solid #edf1f3;
    margin-bottom: 1rem;
}

.cart-summary-total strong {
    color: var(--ab-green-strong);
    font-size: 1.25rem;
}

.cart-summary-card p {
    margin: 1rem 0 .4rem;
    font-size: .95rem;
}

.auth-page {
    padding: 2.5rem 0 3.5rem;
    background:
        radial-gradient(circle at top right, rgba(242, 183, 5, .18), transparent 34%),
        linear-gradient(180deg, #f4f8f5 0%, #ffffff 52%);
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(340px, 460px);
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.auth-intro {
    max-width: 560px;
}

.auth-intro span,
.auth-card > span {
    display: block;
    color: var(--ab-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: .4rem;
    text-transform: uppercase;
}

.auth-intro h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.auth-intro p,
.auth-card p {
    color: #66736e;
    line-height: 1.7;
}

.auth-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.4rem;
}

.auth-benefits div {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    padding: .9rem;
    box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
}

.auth-benefits strong,
.auth-benefits small {
    display: block;
}

.auth-benefits strong {
    color: #061714;
    margin-bottom: .15rem;
}

.auth-benefits small {
    color: #66736e;
}

.auth-card {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(25, 39, 52, .1);
    padding: 1.4rem;
}

.auth-card h2 {
    font-size: 1.75rem;
    font-weight: 850;
    margin-bottom: .35rem;
}

.auth-card .form-label {
    color: #26342f;
    font-weight: 750;
}

.auth-card .form-control {
    border-color: #d8e0dd;
    border-radius: 8px;
    min-height: 48px;
    padding: .75rem .9rem;
}

.auth-card .form-control:focus {
    border-color: var(--ab-green);
    box-shadow: 0 0 0 .2rem rgba(0, 126, 82, .13);
}

.human-verification {
    border: 1px solid #dbe4eb;
    border-radius: 10px;
    overflow: hidden;
}

.human-verification h2 {
    background: #f7fafc;
    border-bottom: 1px solid #dbe4eb;
    color: #061b3a;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    padding: .85rem 1rem;
}

.human-verification-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
    gap: 1rem;
    align-items: end;
    padding: 1rem;
}

.human-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 58px;
    border: 1px solid #dbe4eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #142033;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: .08em;
    padding: .65rem 1rem;
}

.visual-search-hero,
.visual-search-empty {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(25, 39, 52, .06);
    padding: 1rem;
}

.visual-search-hero span,
.visual-search-empty h2,
.visual-result-card small {
    color: var(--ab-green);
}

.visual-search-hero span {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.visual-search-hero h1 {
    font-size: 1.45rem;
    font-weight: 850;
    margin-bottom: .3rem;
}

.visual-search-hero p,
.visual-search-empty p {
    font-size: .95rem;
    color: #66736e;
    margin-bottom: 0;
}

.visual-search-empty h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.visual-search-preview {
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 12px;
    padding: .7rem;
}

.visual-search-preview img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 8px;
    background: #f6f8f7;
}

.visual-result-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .85rem;
    height: 100%;
    background: #fff;
    border: 1px solid #e0e5e8;
    border-radius: 10px;
    padding: .75rem;
    transition: transform .15s ease, box-shadow .15s ease;
}

.visual-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(25, 39, 52, .1);
}

.visual-result-card img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    background: #f6f8f7;
}

.visual-result-card small,
.visual-result-card strong,
.visual-result-card span,
.visual-result-card em {
    display: block;
}

.visual-result-card strong {
    color: #18231f;
    font-size: .98rem;
    line-height: 1.25;
    margin: .1rem 0 .25rem;
}

.visual-result-card span {
    color: #18231f;
    font-weight: 750;
    margin-bottom: .25rem;
}

.visual-result-card em {
    color: #66736e;
    font-size: .78rem;
    font-style: normal;
}

.visual-search-tips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .75rem;
}

.visual-search-tips span {
    border: 1px solid #d5e3dc;
    border-radius: 999px;
    color: var(--ab-green);
    font-size: .78rem;
    font-weight: 750;
    padding: .25rem .6rem;
}

.auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-size: .95rem;
}

.auth-links a {
    color: var(--ab-green);
    font-weight: 700;
}

.password-strength {
    margin-top: .75rem;
    color: #66736e;
    font-size: .88rem;
}

.password-strength-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .45rem;
}

.password-strength-top span {
    font-weight: 700;
}

.password-strength-top strong {
    color: #66736e;
}

.password-strength-bar {
    height: 8px;
    overflow: hidden;
    background: #edf1f3;
    border-radius: 999px;
}

.password-strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #b8c2bd;
    border-radius: inherit;
    transition: width .2s ease, background-color .2s ease;
}

.password-strength.is-weak .password-strength-bar span {
    background: #dc3545;
}

.password-strength.is-medium .password-strength-bar span {
    background: #f2b705;
}

.password-strength.is-strong .password-strength-bar span {
    background: var(--ab-green);
}

.password-strength.is-weak .password-strength-top strong {
    color: #b02a37;
}

.password-strength.is-medium .password-strength-top strong {
    color: #936f00;
}

.password-strength.is-strong .password-strength-top strong {
    color: var(--ab-green-strong);
}

.password-rules {
    display: grid;
    gap: .2rem .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: .55rem 0 0;
    padding: 0;
}

.password-rules li {
    position: relative;
    padding-left: 1.05rem;
}

.password-rules li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    background: #c7d0cc;
    border-radius: 50%;
}

.password-rules li.is-met {
    color: var(--ab-green-strong);
    font-weight: 700;
}

.password-rules li.is-met::before {
    background: var(--ab-green);
}

.admin-sidebar {
    overflow-y: auto;
    scrollbar-width: thin;
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar .nav {
    padding-bottom: 1rem;
}

.admin-sidebar .nav-link {
    padding: .45rem .65rem;
}

.admin-main {
    min-width: 0;
    max-width: calc(100vw - 220px);
    overflow-x: hidden;
}

.admin-profile-toggle {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar hr {
    margin: .5rem 0;
}

.admin-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    background: #edf1ec;
}

.admin-table-card .table > :not(caption) > * > * {
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.admin-table-card {
    overflow: hidden;
}

.admin-table-card .table-responsive {
    max-width: 100%;
}

.admin-product-name {
    min-width: 220px;
}

.inventory-settings-form {
    display: grid;
    grid-template-columns: 58px 58px 96px 110px 124px auto;
    gap: .35rem;
    align-items: start;
    min-width: 510px;
}

.inventory-settings-form .form-control {
    min-width: 0;
}

.inventory-adjust-column {
    min-width: 300px;
}

.inventory-adjust-form {
    display: grid;
    grid-template-columns: 92px minmax(160px, 1fr) auto;
    gap: .5rem;
    align-items: end;
    min-width: 300px;
}

.inventory-adjust-form .form-control {
    min-height: 34px;
}

.inventory-adjust-action .btn {
    min-width: 72px;
}

.admin-action-group {
    display: flex;
    justify-content: flex-end;
    gap: .35rem;
    flex-wrap: wrap;
}

.admin-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #e1e8e4;
    background: #fff;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .82rem;
    font-weight: 650;
}

.admin-account-card {
    position: sticky;
    top: 1rem;
}

.admin-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #66736e;
}

.admin-empty-state strong {
    display: block;
    color: var(--ab-ink);
    font-size: 1rem;
    margin-bottom: .25rem;
}

.admin-empty-state span {
    display: block;
    max-width: 520px;
    margin: 0 auto;
}

.admin-table-card thead th {
    color: #1d2924;
    font-size: .82rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .product-filter-card {
        position: static;
        margin-bottom: 1rem;
    }

    .product-filter-card .card-body {
        padding: 1rem;
    }

    .product-filter-card form {
        margin-bottom: 1rem !important;
    }

    .product-filter-card h2 {
        font-size: .92rem;
        margin-bottom: .65rem !important;
    }

    .product-stock-filter,
    .product-category-filter {
        display: flex;
        gap: .5rem;
        margin-bottom: 1rem !important;
        overflow-x: auto;
        padding-bottom: .15rem;
        scrollbar-width: none;
    }

    .product-stock-filter::-webkit-scrollbar,
    .product-category-filter::-webkit-scrollbar {
        display: none;
    }

    .product-stock-filter li,
    .product-category-filter li {
        flex: 0 0 auto;
        margin-bottom: 0 !important;
    }

    .product-stock-filter a,
    .product-category-filter a {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: .45rem .75rem;
        color: #26342f !important;
        background: #fff;
        border: 1px solid #d9e4df;
        border-radius: 999px;
        white-space: nowrap;
    }

    .product-stock-filter a.text-success,
    .product-category-filter a.text-success {
        color: var(--ab-green-strong) !important;
        background: #eef8f2;
        border-color: #b9d8c9;
    }

    .products-toolbar form {
        width: 100%;
    }

    .build-helper-panel {
        display: block;
    }

    .build-helper-panel form {
        min-width: 0;
        margin-top: .75rem;
    }

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

    .inventory-adjust-form {
        grid-template-columns: 92px minmax(160px, 1fr) auto;
    }
}

.storefront-hero {
    background: linear-gradient(135deg, #e9f5ee 0%, #fbfaf2 58%, #eef6f2 100%);
    border-bottom: 1px solid #d9e6df;
    padding: 4.5rem 0 3.75rem;
}

.storefront-hero h1 {
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 750;
    line-height: 1.03;
    max-width: 780px;
    margin-bottom: 1rem;
}

.storefront-hero p {
    color: #52615b;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.hero-kicker {
    color: var(--ab-green);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}

.hero-search {
    display: flex;
    max-width: 720px;
    background: #fff;
    border: 1px solid #d7e0dc;
    box-shadow: 0 12px 28px rgba(20, 67, 45, .08);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
    outline: 0;
}

.hero-search button {
    border: 0;
    background: var(--ab-green);
    color: #fff;
    font-weight: 650;
    padding: 0 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 1.35rem;
}

.hero-info {
    background: var(--ab-green-strong);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(18, 51, 39, .18);
    overflow: hidden;
}

.hero-info div {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero-info div:last-child {
    border-bottom: 0;
}

.hero-info span {
    display: block;
    color: #a9c8ba;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.hero-info strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 650;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: 1.25rem;
    font-weight: 750;
    margin: 0;
}

.section-heading a {
    color: var(--ab-green);
    font-weight: 650;
    text-decoration: none;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.category-strip a {
    color: var(--ab-green);
    background: #fff;
    border: 1px solid #cbded5;
    border-radius: 999px;
    padding: .6rem .9rem;
    font-weight: 600;
    text-decoration: none;
}

.category-strip a:hover {
    border-color: var(--ab-green);
    box-shadow: 0 8px 18px rgba(25, 135, 84, .1);
}

@media (max-width: 575.98px) {
    .storefront-hero {
        padding: 3rem 0 2.5rem;
    }

    .product-filter-card {
        border-radius: 10px;
    }

    .product-filter-card .card-body {
        padding: .85rem;
    }

    .product-filter-card .form-label {
        margin-bottom: .35rem;
    }

    .product-filter-card .input-group .form-control,
    .product-filter-card .input-group .btn {
        min-height: 44px;
    }

    .product-filter-card h2 {
        margin-top: .85rem;
    }

    .hero-search {
        display: block;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    .hero-search button {
        padding: .85rem 1rem;
    }
}

@media (max-width: 1199.98px) {
    .market-grid {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .quick-panel {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
    }

    .side-ad-card {
        min-height: 180px;
    }
}

@media (max-width: 767.98px) {
    .marketplace-home .container {
        width: calc(100% - 24px);
    }

    .market-grid {
        display: block;
    }

    .category-rail,
    .quick-panel {
        display: none;
    }

    .promo-banner {
        min-height: 360px;
    }

    .promo-banner-img {
        height: 360px;
    }

    .promo-copy {
        inset: auto 0 0 0;
        display: flex;
        width: 100%;
        min-height: 132px;
        padding: 1rem;
        justify-content: flex-end;
        background: linear-gradient(0deg, rgba(3, 62, 42, .92) 0%, rgba(3, 62, 42, .62) 64%, rgba(3, 62, 42, 0) 100%);
    }

    .promo-copy h1 {
        max-width: 270px;
        font-size: 1.55rem;
        line-height: 1.05;
        margin-bottom: .7rem;
    }

    .promo-copy p {
        display: none;
    }

    .promo-actions .btn {
        --bs-btn-padding-y: .55rem;
        --bs-btn-padding-x: .9rem;
        --bs-btn-font-size: .95rem;
        min-width: 112px;
    }

    .promo-dots {
        bottom: .75rem;
        left: auto;
        right: .85rem;
        transform: none;
    }

    .flash-sales-strip {
        display: block;
        padding: .85rem 1rem;
    }

    .flash-sales-strip span,
    .flash-sales-strip a {
        display: block;
        margin-top: .25rem;
    }

    .mobile-category-strip {
        display: flex;
        gap: .55rem;
        overflow-x: auto;
        padding: .9rem 0 0;
    }

    .mobile-category-strip a {
        flex: 0 0 auto;
        color: var(--ab-green);
        background: #fff;
        border: 1px solid #d7e3dd;
        border-radius: 999px;
        padding: .5rem .8rem;
        font-weight: 650;
        text-decoration: none;
    }

    .storefront-section,
    .homepage-support-section {
        width: calc(100% - 24px);
    }

    .featured-product-card .card-img-top,
    .product-card-img {
        height: 150px;
    }

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

    .product-filter-link {
        padding: .55rem .35rem;
    }

    .flash-sales-strip {
        margin-top: 1rem;
    }

    .assistant-search-form,
    .build-helper-panel form {
        display: block;
    }

    .assistant-search-form .btn,
    .build-helper-panel .btn {
        width: 100%;
        margin-top: .5rem;
    }

    .build-assistant-hero {
        padding: 1.35rem;
    }

    .contact-page {
        padding: 2rem 0 3rem;
    }

    .contact-grid {
        display: block;
    }

    .contact-info-card {
        position: static;
        margin-bottom: 1rem;
    }

    .contact-actions .btn,
    .contact-form-card .btn {
        width: 100%;
    }

    .about-hero {
        padding: 2.25rem 0 1.5rem;
    }

    .about-hero-grid,
    .about-story-grid,
    .about-steps {
        display: block;
    }

    .about-summary-card,
    .about-values,
    .about-steps {
        margin-top: 1rem;
    }

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

    .about-steps div {
        border-right: 0;
        border-bottom: 1px solid #edf1f3;
    }

    .about-steps div:last-child {
        border-bottom: 0;
    }

    .cart-page {
        padding: 2rem 0 3rem;
    }

    .cart-empty,
    .cart-layout {
        display: block;
    }

    .cart-empty-help,
    .cart-summary-card {
        position: static;
        margin-top: 1rem;
    }

    .cart-empty-panel {
        padding: 1.35rem;
        min-height: auto;
    }

    .cart-empty-actions .btn {
        width: 100%;
    }

    .cart-recommended {
        padding: 1rem;
    }

    .cart-summary-card .btn {
        width: 100%;
    }

    .auth-page {
        padding: 1.25rem 0 2rem;
    }

    .auth-grid {
        display: block;
    }

    .auth-intro {
        margin-bottom: .85rem;
    }

    .auth-intro span,
    .auth-intro h1 {
        display: none;
    }

    .auth-intro p {
        font-size: .98rem;
        margin-bottom: 0;
    }

    .auth-benefits {
        display: none;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .human-verification-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .human-code {
        width: 100%;
    }

    .auth-links {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem;
    }

    .checkout-option-grid,
    .order-info-grid,
    .order-timeline {
        grid-template-columns: 1fr;
    }

    .checkout-option-card {
        padding: .85rem;
    }

    .checkout-trust-strip {
        justify-content: flex-start;
    }

    .password-rules {
        grid-template-columns: 1fr;
    }

    .notification-card {
        display: block;
    }

    .notification-card time {
        display: block;
        margin-top: .65rem;
    }

    .admin-shell {
        display: block !important;
    }

    .admin-sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto;
        border-radius: 0;
    }

    .admin-sidebar .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem;
        padding-bottom: .25rem;
    }

    .admin-sidebar .nav-link {
        font-size: .92rem;
        padding: .55rem .6rem;
    }

    .admin-sidebar .nav-item:has(hr) {
        display: none;
    }

    .admin-main {
        max-width: 100%;
        padding: 1rem !important;
        overflow-x: hidden;
    }

    .admin-main > .d-flex.justify-content-between {
        display: block !important;
    }

    .admin-dashboard-hero,
    .admin-dashboard-hero-actions {
        display: block;
    }

    .admin-dashboard-hero-actions .btn {
        width: 100%;
        margin-top: .5rem;
    }

    .admin-sales-chart {
        gap: .45rem;
        overflow-x: auto;
    }

    .admin-sales-bar {
        flex: 0 0 76px;
    }

    .admin-readiness-list,
    .settings-payment-readiness,
    .admin-payment-breakdown div {
        grid-template-columns: 1fr;
    }

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

    .admin-table-card table,
    .admin-table-card thead,
    .admin-table-card tbody,
    .admin-table-card tr,
    .admin-table-card td {
        display: block;
    }

    .admin-table-card thead {
        display: none;
    }

    .admin-table-card tr {
        border-bottom: 1px solid #e3e9e5;
        padding: .75rem;
    }

    .admin-table-card td {
        border: 0;
        padding: .35rem 0;
        text-align: left !important;
    }

    .admin-table-card td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #66736e;
        font-size: .75rem;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: .1rem;
    }

    .admin-profile-toggle {
        width: 100%;
        max-width: none;
        margin-top: .75rem;
    }

    .admin-account-card {
        position: static;
    }

    .inventory-settings-form,
    .inventory-adjust-form {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .inventory-adjust-column {
        min-width: 0;
    }
}
