@charset "UTF-8";
/* =========================================================================
   Vitalis UI — Part 4/4: page-level blocks (home, catalog, product, cart)
   ========================================================================= */

/* ================================ hero ================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--c-canvas);
    color: var(--c-ink-2);
    border-bottom: 1px solid var(--c-line);
}

.hero::before,
.hero::after {
    content: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 2.5rem;
    padding: clamp(2.2rem, 1.6rem + 3.4vw, 4.6rem) 0;
}

@media (max-width: 991.98px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        text-align: center;
        padding-block: 1.6rem 2rem;
    }

    .hero__visual {
        max-width: 220px;
        margin-inline: auto;
        order: 2;
    }

    .hero__bubble {
        display: none;
    }

    .hero__cta, .hero__points {
        justify-content: center;
    }
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .85rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--c-brand-200);
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--c-brand-700);
    font-size: .78rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.hero__title {
    margin: 0 0 .9rem;
    color: var(--c-ink);
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.015em;
}

.hero__title em {
    font-style: normal;
    color: var(--c-brand-600);
}

.hero__text {
    max-width: 52ch;
    margin: 0 0 1.5rem;
    color: var(--c-ink-3);
    font-size: clamp(.92rem, .86rem + .25vw, 1.05rem);
    line-height: 2;
}

@media (max-width: 991.98px) {
    .hero__text {
        margin-inline: auto;
    }
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 1.8rem;
}

.hero .btn-outline-light {
    border-color: var(--c-line);
    color: var(--c-ink-2);
    background: #fff;
}

.hero .btn-outline-light:hover {
    background: var(--c-brand-50);
    border-color: var(--c-brand-300);
    color: var(--c-brand-700);
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--c-line);
    margin: 0;
    list-style: none;
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .84rem;
    color: var(--c-ink-2);
    font-weight: 600;
}

.hero__points i {
    color: var(--c-brand-500);
}

.hero__visual {
    position: relative;
}

.hero__visual img, .hero__visual svg {
    width: 100%;
    height: auto;
    filter: none;
}

/* floating stat bubble over the hero art */
.hero__bubble {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .9rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--sh-md);
    color: var(--c-ink);
    font-size: .8rem;
    font-weight: 700;
    animation: float-y 4s ease-in-out infinite;
}

.hero__bubble i {
    color: var(--c-brand-500);
    font-size: 1.1rem;
}

.hero__bubble--a {
    top: 12%;
    right: -8px;
}

.hero__bubble--b {
    bottom: 14%;
    left: -8px;
    animation-delay: 1.6s;
}

@keyframes float-y {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 575.98px) {
    .hero__bubble {
        display: none;
    }
}

/* ============================ trust strip ============================== */
.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -2.2rem;
}

@media (max-width: 991.98px) {
    .trust-strip {
        margin-top: 1.4rem;
    }
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--c-line);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

@media (max-width: 767.98px) {
    .trust-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.1rem;
    background: var(--c-surface);
    transition: background var(--t-fast);
}

.trust-item:hover {
    background: var(--c-brand-50);
}

.trust-item__icon {
    flex: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--c-brand-50);
    color: var(--c-brand-600);
    font-size: 1.15rem;
}

.trust-item__title {
    color: var(--c-ink);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.5;
}

.trust-item__text {
    color: var(--c-ink-4);
    font-size: .76rem;
}

/* =========================== category tiles ============================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
    padding: 1.3rem 1rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    color: var(--c-ink-2);
    text-align: center;
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.cat-tile:hover {
    transform: translateY(-6px);
    border-color: var(--c-brand-200);
    box-shadow: var(--sh-md);
    color: var(--c-brand-700);
}

.cat-tile__icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-brand-50), var(--c-leaf-100));
    color: var(--c-brand-600);
    font-size: 1.5rem;
    transition: transform var(--t-base);
}

.cat-tile:hover .cat-tile__icon {
    transform: scale(1.08) rotate(-6deg);
}

.cat-tile__name {
    font-size: .9rem;
    font-weight: 700;
}

.cat-tile__count {
    font-size: .74rem;
    color: var(--c-ink-4);
}

/* ========================== product card grid =========================== */
.p-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.1rem;
}

@media (max-width: 575.98px) {
    .p-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }
}

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.p-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-brand-200);
    box-shadow: var(--sh-md);
}

.p-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--c-surface-2), #edf4f2);
    overflow: hidden;
}

.p-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
    transition: transform var(--t-slow);
}

.p-card:hover .p-card__img {
    transform: scale(1.07);
}

.p-card__ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--c-brand-200);
    font-size: 2.4rem;
}

.p-card__badges {
    position: absolute;
    top: .6rem;
    right: .6rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    z-index: 2;
}

.p-card__badge {
    padding: .2rem .55rem;
    border-radius: var(--r-pill);
    font-size: .7rem;
    font-weight: 700;
    box-shadow: var(--sh-xs);
    backdrop-filter: blur(4px);
}

.p-card__badge--new {
    background: var(--c-brand-500);
    color: #fff;
}

.p-card__badge--low {
    background: var(--c-amber-400);
    color: #4a3000;
}

.p-card__badge--out {
    background: rgba(13, 27, 26, .78);
    color: #fff;
}

.p-card__badge--multi {
    background: var(--c-leaf-400);
    color: #22400a;
}

/* quick wishlist-ish action */
.p-card__quick {
    position: absolute;
    top: .6rem;
    left: .6rem;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--c-ink-4);
    font-size: .88rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--t-base), transform var(--t-base), color var(--t-fast);
}

.p-card:hover .p-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.p-card__quick:hover {
    color: var(--c-rose-500);
}

.p-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: .5rem;
    padding: .9rem;
}

.p-card__brandline {
    color: var(--c-ink-4);
    font-size: .72rem;
    font-weight: 600;
}

.p-card__title {
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.6;
    /* clamp to two lines so the grid stays even */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.95em;
}

.p-card__title a {
    color: var(--c-ink);
    font-weight: 700;
}

.p-card__title a:hover {
    color: var(--c-brand-600);
}

.p-card__variants {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .74rem;
    color: var(--c-ink-4);
}

.p-card__swatches {
    display: inline-flex;
    gap: .2rem;
}

.p-card__swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
}

.p-card__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding-top: .55rem;
    border-top: 1px dashed var(--c-line);
}

.p-card__prices {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.p-card__cta {
    flex: none;
}

@media (max-width: 575.98px) {
    .p-card__body {
        padding: .7rem;
        gap: .4rem;
    }

    .p-card__title {
        font-size: .85rem;
    }

    .p-card__cta .btn-text {
        display: none;
    }
}

/* stock meter */
.stock-bar {
    height: 4px;
    border-radius: var(--r-pill);
    background: var(--c-line);
    overflow: hidden;
}

.stock-bar__fill {
    height: 100%;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--c-leaf-400), var(--c-brand-400));
}

.stock-bar__fill--low {
    background: linear-gradient(90deg, var(--c-amber-400), var(--c-rose-500));
}

.stock-note {
    font-size: .72rem;
    color: var(--c-ink-4);
}

.stock-note--low {
    color: var(--c-rose-600);
    font-weight: 700;
}

/* ========================== catalog toolbar ============================ */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
}

.filter-row--tags {
    margin-bottom: 1rem;
}

.filter-row__label {
    font-size: .8rem;
    color: var(--c-ink-4);
    font-weight: 600;
}

.chip--soft {
    background: var(--c-brand-50);
    border-color: transparent;
    color: var(--c-brand-700);
    font-weight: 600;
}

.chip--ghost {
    background: transparent;
    border-color: var(--c-line);
    color: var(--c-ink-3);
    font-weight: 600;
}

.p-card__cats,
.p-card__taxo,
.pdp__taxo {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .35rem 0 .6rem;
}

.catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    padding: .8rem 1rem;
    margin-bottom: 1.2rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-xs);
}

.catalog-bar__count {
    font-size: .86rem;
    color: var(--c-ink-3);
}

.catalog-bar__count b {
    color: var(--c-ink);
}

.sort-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sort-chips a {
    display: inline-block;
    padding: .3rem .8rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-pill);
    color: var(--c-ink-3);
    font-size: .82rem;
    font-weight: 600;
    transition: all var(--t-fast);
}

.sort-chips a:hover {
    border-color: var(--c-brand-300);
    color: var(--c-brand-700);
}

.sort-chips a.is-active {
    background: var(--c-brand-600);
    border-color: var(--c-brand-600);
    color: #fff;
}

/* =========================== product detail ============================ */
.pdp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 1rem + 1.6vw, 2.6rem);
    align-items: start;
}

@media (max-width: 991.98px) {
    .pdp {
        grid-template-columns: 1fr;
    }
}

/* --- gallery --- */
.gallery__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--c-surface), #edf4f2);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
}

.gallery__stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8%;
    cursor: zoom-in;
    transition: transform var(--t-slow);
}

.gallery__stage:hover img {
    transform: scale(1.05);
}

.gallery__zoom-hint {
    position: absolute;
    bottom: .8rem;
    left: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .7rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .9);
    color: var(--c-ink-3);
    font-size: .74rem;
    font-weight: 600;
    pointer-events: none;
}

.gallery__thumbs {
    display: flex;
    gap: .55rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery__thumb {
    flex: none;
    width: 74px;
    height: 74px;
    padding: 4px;
    border: 2px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    cursor: pointer;
    transition: border-color var(--t-fast), transform var(--t-fast);
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery__thumb:hover {
    transform: translateY(-3px);
    border-color: var(--c-brand-300);
}

.gallery__thumb.is-active {
    border-color: var(--c-brand-500);
}

/* --- info column --- */
.pdp__brandline {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: .8rem;
    color: var(--c-ink-4);
}

.pdp__title {
    margin: 0 0 .55rem;
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
    line-height: 1.5;
}

.pdp__sub {
    margin: 0 0 1rem;
    color: var(--c-ink-3);
    font-size: .92rem;
    line-height: 1.95;
}

.pdp__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.1rem;
}

.pdp__buybox {
    padding: 1.1rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface-2);
}

.pdp__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* variant picker */
.variants {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.variant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .75rem .9rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-surface);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.variant:hover {
    border-color: var(--c-brand-300);
    box-shadow: var(--sh-sm);
}

.variant--out {
    opacity: .62;
    background: var(--c-surface-2);
}

.variant--out:hover {
    transform: none;
    border-color: var(--c-line);
    box-shadow: none;
}

.variant__info {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

.variant__name {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--c-ink);
    font-size: .92rem;
    font-weight: 700;
}

.variant__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
    flex: none;
}

.variant__sub {
    font-size: .76rem;
    color: var(--c-ink-4);
}

.variant__buy {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex: none;
}

/* trust list inside buybox */
.pdp__assure {
    display: grid;
    gap: .6rem;
    margin: 1.1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px dashed var(--c-line);
    list-style: none;
}

.pdp__assure li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .84rem;
    color: var(--c-ink-3);
}

.pdp__assure i {
    width: 1.4rem;
    text-align: center;
    color: var(--c-brand-500);
}

/* spec / description tabs */
.pdp-tabs {
    margin-top: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem);
}

.pdp-tabs__nav {
    display: flex;
    gap: .3rem;
    margin: 0 0 -1px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.pdp-tabs__nav::-webkit-scrollbar {
    display: none;
}

.pdp-tabs__btn {
    padding: .7rem 1.2rem;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    background: transparent;
    color: var(--c-ink-3);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--t-fast);
}

.pdp-tabs__btn:hover {
    color: var(--c-brand-700);
}

.pdp-tabs__btn.is-active {
    background: var(--c-surface);
    border-color: var(--c-line);
    color: var(--c-brand-700);
}

.pdp-tabs__panels {
    padding: clamp(1rem, .8rem + .8vw, 1.8rem);
    border: 1px solid var(--c-line);
    border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
    background: var(--c-surface);
}

.pdp-tabs__panel {
    display: none;
}

.pdp-tabs__panel.is-active {
    display: block;
}

.prose {
    color: var(--c-ink-2);
    font-size: .94rem;
    line-height: 2.05;
    white-space: pre-line;
}

.prose h2, .prose h3 {
    margin-top: 1.4rem;
}

.spec-table {
    width: 100%;
    font-size: .9rem;
}

.spec-table th {
    width: 38%;
    color: var(--c-ink-3);
    font-weight: 600;
    background: var(--c-surface-2);
}

/* ============================ cart / checkout ========================== */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.4rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--c-line-2);
}

.cart-line:last-child {
    border-bottom: 0;
}

.cart-line__media {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface-2);
    overflow: hidden;
}

.cart-line__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-line__title {
    margin: 0 0 .25rem;
    font-size: .95rem;
    font-weight: 700;
}

.cart-line__title a {
    color: var(--c-ink);
}

.cart-line__title a:hover {
    color: var(--c-brand-600);
}

.cart-line__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .55rem;
}

.cart-line__actions {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.cart-line__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
    text-align: left;
}

@media (max-width: 575.98px) {
    .cart-line {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: .75rem;
        padding: .85rem;
    }

    .cart-line__media {
        width: 76px;
        height: 76px;
    }

    .cart-line__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: .6rem;
        border-top: 1px dashed var(--c-line);
    }
}

/* order summary */
.summary {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.2rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    box-shadow: var(--sh-sm);
}

.summary__title {
    margin: 0 0 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--c-line);
    font-size: 1rem;
}

.summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
    font-size: .88rem;
    color: var(--c-ink-3);
}

.summary__row--discount {
    color: var(--c-rose-600);
    font-weight: 700;
}

.summary__row--total {
    margin-top: .6rem;
    padding-top: .9rem;
    border-top: 1px dashed var(--c-line);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-ink);
}

.summary__actions {
    margin-top: 1.1rem;
    display: grid;
    gap: .55rem;
}

@media (max-width: 991.98px) {
    .summary {
        position: static;
    }
}

/* checkout stepper */
.steps {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.steps::-webkit-scrollbar {
    display: none;
}

.steps li {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: none;
    font-size: .84rem;
    font-weight: 600;
    color: var(--c-ink-4);
    white-space: nowrap;
}

.steps li + li::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: var(--r-pill);
    background: var(--c-line);
}

.steps__num {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-line-2);
    color: var(--c-ink-4);
    font-size: .78rem;
    font-weight: 700;
}

.steps li.is-done .steps__num {
    background: var(--c-brand-100);
    color: var(--c-brand-700);
}

.steps li.is-current {
    color: var(--c-brand-700);
}

.steps li.is-current .steps__num {
    background: var(--c-brand-600);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(61, 106, 76, .14);
}

/* ============================ order status ============================= */
.order-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    border-radius: var(--r-pill);
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
}

.order-card {
    padding: 1.1rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    box-shadow: var(--sh-xs);
    transition: box-shadow var(--t-base), border-color var(--t-base);
}

.order-card:hover {
    border-color: var(--c-brand-200);
    box-shadow: var(--sh-sm);
}

.order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: .8rem;
    margin-bottom: .8rem;
    border-bottom: 1px dashed var(--c-line);
}

.order-card__id {
    font-size: .95rem;
    font-weight: 700;
    color: var(--c-ink);
}

.order-card__date {
    font-size: .8rem;
    color: var(--c-ink-4);
}

/* thumbnails row of an order */
.order-thumbs {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

.order-thumbs img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 3px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-xs);
    background: var(--c-surface-2);
}

/* ========================= testimonials / CTA ========================== */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.quote {
    position: relative;
    padding: 1.4rem 1.2rem 1.2rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.quote:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
}

.quote::before {
    content: "\f10e";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    top: .8rem;
    left: 1rem;
    color: var(--c-brand-100);
    font-size: 1.6rem;
}

.quote__text {
    margin: 0 0 1rem;
    color: var(--c-ink-2);
    font-size: .89rem;
    line-height: 2;
}

.quote__foot {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding-top: .8rem;
    border-top: 1px dashed var(--c-line);
}

.quote__avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-brand-100);
    color: var(--c-brand-700);
    font-weight: 700;
    font-size: .9rem;
    flex: none;
}

.quote__name {
    font-size: .86rem;
    font-weight: 700;
    color: var(--c-ink);
}

.quote__role {
    font-size: .74rem;
    color: var(--c-ink-4);
}

.stars {
    display: inline-flex;
    gap: .1rem;
    color: var(--c-amber-400);
    font-size: .8rem;
}

/* stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
    text-align: center;
}

.stat__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto .6rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--c-leaf-300);
    font-size: 1.3rem;
}

.stat__num {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    direction: ltr;
}

.stat__label {
    font-size: .84rem;
    color: #b9d9d4;
}

/* consultation / contact block */
.contact-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 0;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    background: var(--c-surface);
}

@media (max-width: 767.98px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

.contact-card__aside {
    padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.4rem);
    background: var(--c-brand-50);
    color: var(--c-ink-2);
    border-left: 1px solid var(--c-line);
}

.contact-card__aside h2 {
    color: var(--c-ink);
}

.contact-card__list {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-card__list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .8rem;
    font-size: .86rem;
}

.contact-card__list i {
    color: var(--c-brand-500);
    margin-top: .3rem;
}

.contact-card__form {
    padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.4rem);
}

/* newsletter */
.newsletter {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.newsletter input {
    flex: 1 1 200px;
    border-radius: var(--r-pill);
    padding-inline: 1.1rem;
}

/* ============================== auth pages ============================= */
.auth-wrap {
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 1.2rem + 2vw, 4rem) 0;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem);
    border: 1px solid var(--c-line);
    border-radius: var(--r-xl);
    background: var(--c-surface);
    box-shadow: var(--sh-md);
}

.auth-card__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%
;
    background: linear-gradient(135deg, var(--c-brand-50), var(--c-leaf-100));
    color: var(--c-brand-600);
    font-size: 1.6rem;
}

/* OTP inputs */
.otp-input {
    letter-spacing: .6em;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    direction: ltr;
    padding-inline: 1rem;
}

/* ============================== utilities ============================== */
.text-brand {
    color: var(--c-brand-600) !important;
}

.text-leaf {
    color: var(--c-leaf-500) !important;
}

.text-muted {
    color: var(--c-ink-4) !important;
}

.bg-brand-soft {
    background: var(--c-brand-50) !important;
}

.bg-surface {
    background: var(--c-surface) !important;
}

.rounded-lg {
    border-radius: var(--r-lg) !important;
}

.shadow-sm-2 {
    box-shadow: var(--sh-sm) !important;
}

.divider-dashed {
    border-top: 1px dashed var(--c-line);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================== magazine ============================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    box-shadow: var(--sh-xs);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--c-surface-2);
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: 1rem 1.1rem 1.2rem;
}

.blog-card__date {
    display: block;
    margin-bottom: .4rem;
    font-size: .78rem;
    color: var(--c-ink-4);
}

.blog-card__title {
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.blog-card__excerpt {
    color: var(--c-ink-3);
    font-size: .88rem;
    margin-bottom: .8rem;
}

.article-body {
    padding: clamp(1.2rem, 1rem + 1.4vw, 2rem);
    line-height: 2;
}

.article-body img {
    border-radius: var(--r-md);
}

/* ============================== comments ============================== */
.comments {
    margin-top: 1.2rem;
}

.comments__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.comments__count {
    padding: .05rem .55rem;
    border-radius: var(--r-pill);
    background: var(--c-brand-50);
    color: var(--c-brand-700);
    font-size: .8rem;
}

.comments__list {
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
}

.comment {
    display: flex;
    gap: .8rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
}

.comment:first-child {
    padding-top: 0;
}

.comment__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--c-brand-100);
    color: var(--c-brand-700);
    font-weight: 700;
}

.comment__main {
    flex: 1;
    min-width: 0;
}

.comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .3rem .8rem;
    margin-bottom: .3rem;
}

.comment__meta time {
    color: var(--c-ink-4);
    font-size: .8rem;
}

.comment__body {
    color: var(--c-ink-2);
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.comments__empty,
.comments__closed {
    color: var(--c-ink-3);
}

.comment-form {
    padding-top: 1.2rem;
    border-top: 1px solid var(--c-line);
}

.comments__list + .comment-form,
.comments__title + .comment-form {
    padding-top: 0;
    border-top: 0;
}

.comment-form__title {
    margin-bottom: .9rem;
    font-size: 1rem;
}

.comment-form__as {
    color: var(--c-ink-3);
    font-size: .9rem;
}

.comment-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1rem;
}

.comment-form__hint {
    margin: -.5rem 0 1rem;
}

.comment-form .is-required label::after {
    content: ' *';
    color: var(--c-rose-500);
}

.form-error {
    display: block;
    margin-top: .3rem;
    color: #b3261e;
    font-size: .8rem;
}

.comment-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.comment-form__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .comment-form__grid {
        grid-template-columns: 1fr;
    }

    .comment-form__foot .btn {
        width: 100%;
    }
}

/* ============================== profile =============================== */
.profile-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.2rem;
    align-items: start;
}

@media (max-width: 767.98px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-row {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .profile-otp {
        padding: .4rem 0 .8rem;
    }
}

.profile-side {
    padding: 1.3rem 1.1rem;
    text-align: center;
}

.profile-side__avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-brand-50), var(--c-leaf-100));
    color: var(--c-brand-600);
    font-size: 1.8rem;
}

.profile-side__name {
    text-align: center;
    font-weight: 700;
    margin-bottom: .2rem;
}

.profile-side__meta {
    text-align: center;
    font-size: .8rem;
    color: var(--c-ink-4);
    margin-bottom: 1rem;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    text-align: start;
}

.profile-nav a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .75rem;
    border-radius: var(--r-sm);
    color: var(--c-ink-2);
    font-weight: 600;
    font-size: .9rem;
}

.profile-nav a:hover,
.profile-nav a.is-active {
    background: var(--c-brand-50);
    color: var(--c-brand-700);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-brand-50), var(--c-leaf-100));
    color: var(--c-brand-600);
    font-size: 1.8rem;
    font-weight: 800;
}

.profile-card {
    padding: 1.3rem 1.2rem;
}

.profile-row {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: .6rem;
    align-items: center;
    padding: .9rem 0;
    border-bottom: 1px dashed var(--c-line);
}

.profile-row:last-of-type {
    border-bottom: 0;
}

.profile-row label {
    margin: 0;
    font-size: .82rem;
    font-weight: 700;
    color: var(--c-ink-3);
}

.profile-row__ctrl {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.profile-row__ctrl .form-control {
    flex: 1;
    min-width: 0;
}

.profile-otp {
    padding: .6rem 0 .9rem 8.6rem;
}

.profile-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .6rem;
    align-items: end;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--c-line);
}

.profile-field:last-child {
    border-bottom: 0;
}

.profile-field label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--c-ink-3);
    margin-bottom: .35rem;
}

.profile-field .form-control {
    width: 100%;
}

.profile-field__actions {
    display: flex;
    gap: .35rem;
    align-items: center;
}
