﻿.marketplace-card__media {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 23, 42, 0.06);
}

.marketplace-card__media--carousel {
    position: relative;
}

.marketplace-card__media--video video {
    border-radius: 18px;
    background: #000;
}

.marketplace-card__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(75, 46, 29, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(61, 42, 32, 0.25);
    z-index: 2;
}

.marketplace-card__control:hover,
.marketplace-card__control:focus-visible {
    background: rgba(197, 138, 75, 0.95);
    transform: translateY(-50%) scale(1.03);
}

.marketplace-card__control--prev {
    left: 12px;
}

.marketplace-card__control--next {
    right: 12px;
}

.marketplace-card__control.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.marketplace-card__media img,
.marketplace-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    color-scheme: light;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --color-primary: #4B2E1D;
    --color-accent: #C58A4B;
    --color-accent-secondary: #8C5A2F;
    --color-bg: #F7F0E6;
    --color-text: #3D2A20;
    --color-state-success: #4F8A10;
    --color-state-warning: #CC7A00;
    --color-state-error: #B02A1B;
    --radius-base: 8px;
    --spacing-unit: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 1.5) 0;
}

.container--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 1.25);
    padding: calc(var(--spacing-unit) * 0.85) calc(var(--spacing-unit) * 1);
}

header {
    position: relative;
    top: auto;
    z-index: 1000;
    background: rgba(248, 240, 232, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(176, 150, 126, 0.22);
    box-shadow: 0 18px 28px rgba(45, 28, 18, 0.16);
}

header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(195, 138, 75, 0.12), transparent 45%, transparent 55%, rgba(140, 86, 40, 0.12));
    pointer-events: none;
}

footer {
    background: #fff;
    border-top: 1px solid rgba(75, 46, 29, 0.1);
    text-align: center;
    padding: calc(var(--spacing-unit) * 0.75) 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(75, 46, 29, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    box-shadow: 0 0 10px rgba(195, 138, 75, 0.6);
}

.nav {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(176, 150, 126, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 22px rgba(45, 28, 18, 0.12);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.75);
}

.language-bar {
    display: flex;
    justify-content: flex-end;
    padding: 12px calc(var(--spacing-unit) * 1.5) 0;
}

.language-bar__form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text);
}

.language-bar__form label {
    font-weight: 600;
    color: var(--color-text);
}

.language-bar__form select {
    min-width: 135px;
    padding: 6px 10px;
    border-radius: var(--radius-base);
    border: 1px solid rgba(195, 138, 75, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.language-bar__form--inline {
    margin-right: calc(var(--spacing-unit) * 0.5);
}

.language-bar__form--inline label {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(68, 50, 38, 0.68);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 14px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #2A160B;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(195, 138, 75, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(195, 138, 75, 0.36);
}

.nav-logout {
    display: inline-flex;
}

.nav-logout button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: none;
    border-radius: 999px;
    background: rgba(75, 46, 29, 0.08);
    color: rgba(68, 50, 38, 0.75);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-logout button::before {
    content: '\2197';
    font-size: 0.9rem;
    transform: rotate(45deg);
    opacity: 0.6;
}

.nav-logout button:hover,
.nav-logout button:focus-visible {
    background: rgba(75, 46, 29, 0.12);
    color: var(--color-primary);
}

.nav-user {
    font-size: 0.9rem;
    color: rgba(68, 50, 38, 0.75);
}

@media (max-width: 900px) {
    .container--header {
        flex-direction: column;
        align-items: stretch;
        gap: calc(var(--spacing-unit) * 0.9);
    }

    .nav {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .nav-logout {
        width: 100%;
        justify-content: center;
    }
}

.hero {
    padding: calc(var(--spacing-unit) * 2) 0;
}

.hero__title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--color-primary);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 640px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    border-radius: var(--radius-base);
    font-weight: 600;
    margin-top: var(--spacing-unit);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
    margin-top: calc(var(--spacing-unit) * 2);
}

.feature-card {
    background: #fff;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--radius-base);
    box-shadow: 0 10px 30px rgba(75, 46, 29, 0.1);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.product-showcase {
    margin-top: calc(var(--spacing-unit) * 3);
}

.product-showcase__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}

.product-grid {
    margin-top: calc(var(--spacing-unit) * 1.5);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.product-card {
    background: #fff;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--radius-base);
    box-shadow: 0 12px 24px rgba(75, 46, 29, 0.12);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 0.75);
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-weight: 600;
    color: var(--color-primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(12, 83, 48, 0.08);
    color: #7B4A1C;
    text-transform: capitalize;
}

.badge--subscription {
    background: rgba(195, 138, 75, 0.15);
    color: var(--color-accent);
}

.badge--service {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-state-success);
}

.badge--matured {
    background: rgba(239, 68, 68, 0.18);
    color: var(--color-state-error);
}

.badge--active {
    background: rgba(34, 197, 94, 0.18);
    color: #167a40;
}

.product-card__cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: var(--radius-base);
    border: 1px solid rgba(75, 46, 29, 0.15);
    font-weight: 500;
}

.product-empty {
    color: rgba(102, 78, 59, 0.7);
}

.home-hero {
    position: relative;
    margin-top: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3.2);
    border-radius: 36px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(249, 237, 223, 0.88)),
        linear-gradient(135deg, rgba(163, 106, 44, 0.65), rgba(27, 78, 45, 0.65));
    overflow: hidden;
    box-shadow: 0 42px 80px rgba(45, 28, 18, 0.18);
    color: #fdf8f3;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 2.5);
    z-index: 1;
}

.home-hero__copy {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.3);
}

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.home-hero__title {
    margin: 0;
    color: #26160b;
}

.home-hero__subtitle {
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    color: rgba(38, 22, 11, 0.75);
    max-width: 540px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-hero__cta--primary {
    background: linear-gradient(135deg, #b97a3a, #7b5121);
    color: #fff;
    box-shadow: 0 24px 40px rgba(123, 81, 33, 0.28);
}

.home-hero__cta--primary:hover,
.home-hero__cta--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 28px 48px rgba(123, 81, 33, 0.35);
}

.home-hero__cta--ghost {
    background: rgba(38, 22, 11, 0.12);
    color: #26160b;
    border: 1px solid rgba(38, 22, 11, 0.18);
}

.home-hero__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1.2);
    margin: calc(var(--spacing-unit) * 1.8) 0 0;
}

.home-hero__metrics div {
    display: grid;
    gap: 6px;
}

.home-hero__metrics dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(38, 22, 11, 0.62);
}

.home-hero__metrics dd {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #26160b;
}

.home-hero__media {
    position: relative;
    display: grid;
    place-items: center;
}

.home-hero__card {
    position: relative;
    display: grid;
    gap: 12px;
    padding: calc(var(--spacing-unit) * 2.2);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.52);
    color: #26160b;
    box-shadow: 0 22px 40px rgba(38, 22, 11, 0.18);
    max-width: 340px;
}

.home-hero__card ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
    color: rgba(38, 22, 11, 0.72);
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(123, 81, 33, 0.15);
    color: #7b5121;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.home-hero__glow {
    position: absolute;
    inset: 20% auto auto 10%;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
    filter: blur(16px);
    opacity: 0.7;
}

.home-section__heading {
    margin: calc(var(--spacing-unit) * 3) auto calc(var(--spacing-unit) * 2);
    max-width: 680px;
    text-align: center;
    display: grid;
    gap: calc(var(--spacing-unit) * 0.8);
}

.home-section__heading span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(38, 22, 11, 0.58);
    font-weight: 600;
}

.home-section__heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    color: rgba(38, 22, 11, 0.92);
}

.home-section__heading p {
    margin: 0;
    color: rgba(68, 41, 22, 0.75);
}

.home-promise {
    margin-top: calc(var(--spacing-unit) * 3);
}

.home-promise__grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.8);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-promise__card {
    display: grid;
    gap: 12px;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.32);
    box-shadow: 0 26px 48px rgba(45, 28, 18, 0.12);
}

.home-promise__icon {
    font-size: 1.8rem;
}

.home-marketplace {
    margin-top: calc(var(--spacing-unit) * 4);
}

.home-marketplace__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 1.8);
}

.home-marketplace__card {
    display: grid;
    gap: 14px;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.32);
    box-shadow: 0 26px 48px rgba(45, 28, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-marketplace__card:hover,
.home-marketplace__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px rgba(45, 28, 18, 0.14);
}

.home-marketplace__card--secondary {
    background: linear-gradient(135deg, rgba(249, 237, 223, 0.9), rgba(234, 221, 208, 0.92));
}

.home-marketplace__media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.home-marketplace__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home-marketplace__control {
    position: absolute;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(38, 22, 11, 0.6);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-marketplace__control--prev {
    left: 16px;
}

.home-marketplace__control--next {
    right: 16px;
}

.home-marketplace__control:hover,
.home-marketplace__control:focus-visible {
    transform: translateY(-2px);
    background: rgba(38, 22, 11, 0.8);
}

.home-marketplace__control.is-hidden {
    display: none;
}

.home-marketplace__pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(12, 83, 48, 0.1);
    color: #1a5633;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-marketplace__pill--accent {
    background: rgba(123, 81, 33, 0.12);
    color: #7b5121;
}

.home-marketplace__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-marketplace__price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #26160b;
}

.home-marketplace__badge {
    font-size: 0.8rem;
    color: rgba(68, 41, 22, 0.68);
}

.home-marketplace__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b97a3a, #7b5121);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 18px 32px rgba(123, 81, 33, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-marketplace__cta:hover,
.home-marketplace__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(123, 81, 33, 0.32);
}

.home-marketplace__cta--ghost {
    background: rgba(38, 22, 11, 0.08);
    color: #26160b;
    border: 1px solid rgba(38, 22, 11, 0.12);
    box-shadow: none;
}

.home-marketplace__cta--ghost:hover,
.home-marketplace__cta--ghost:focus-visible {
    background: rgba(38, 22, 11, 0.16);
}

.home-marketplace__empty {
    text-align: center;
    color: rgba(68, 41, 22, 0.7);
    font-weight: 600;
    padding: calc(var(--spacing-unit) * 2);
}

.home-cta {
    margin: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 4);
    display: grid;
    place-items: center;
}

.home-cta__content {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(12, 83, 48, 0.14), rgba(123, 81, 33, 0.1));
    border: 1px solid rgba(12, 83, 48, 0.16);
    max-width: 720px;
    text-align: center;
    box-shadow: 0 28px 54px rgba(45, 28, 18, 0.14);
}

.home-cta__content h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 2.6rem);
    color: rgba(38, 22, 11, 0.92);
}

.home-cta__content p {
    margin: 0;
    color: rgba(68, 41, 22, 0.75);
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-cta__button--primary {
    background: linear-gradient(135deg, #7b5121, #234f31);
    color: #fff;
    box-shadow: 0 20px 38px rgba(35, 79, 49, 0.26);
}

.home-cta__button--primary:hover,
.home-cta__button--primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 26px 50px rgba(35, 79, 49, 0.3);
}

.home-cta__button--ghost {
    background: rgba(38, 22, 11, 0.08);
    color: #26160b;
    border: 1px solid rgba(38, 22, 11, 0.12);
}

.home-cta__button--ghost:hover,
.home-cta__button--ghost:focus-visible {
    background: rgba(38, 22, 11, 0.16);
}

@media (max-width: 960px) {
    .home-hero {
        padding: calc(var(--spacing-unit) * 2.4);
    }

    .home-hero__metrics {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .home-hero__inner {
        grid-template-columns: 1fr;
    }

    .home-hero__media {
        justify-content: flex-start;
    }

    .home-hero__card {
        max-width: 100%;
    }
}

.auth-card {
    background: #fff;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--radius-base);
    box-shadow: 0 18px 48px rgba(75, 46, 29, 0.15);
    max-width: 480px;
    margin: calc(var(--spacing-unit) * 3) auto;
}

.auth-card__lead {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: rgba(102, 78, 59, 0.8);
}

.auth-card__footer {
    margin-top: calc(var(--spacing-unit) * 1.5);
    font-size: 0.95rem;
}

.form {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.form--inline {
    gap: calc(var(--spacing-unit) * 0.75);
}

.form__grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 12px 14px;
    border-radius: var(--radius-base);
    border: 1px solid rgba(75, 46, 29, 0.2);
    font: inherit;
    background: #fff;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: 2px solid rgba(195, 138, 75, 0.4);
    border-color: var(--color-accent);
}

.form__error {
    color: var(--color-state-error);
    font-size: 0.85rem;
}

.form__hint {
    font-size: 0.85rem;
    color: rgba(102, 78, 59, 0.7);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-base);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

.button--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
}

.button--ghost {
    background: rgba(75, 46, 29, 0.06);
    color: var(--color-primary);
}

.button--danger {
    background: var(--color-state-error);
    color: #fff;
}

.table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-base);
    overflow: hidden;
    border: 1px solid rgba(139, 94, 51, 0.12);
    box-shadow: 0 12px 28px rgba(75, 46, 29, 0.12);
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(139, 94, 51, 0.12);
}

.table tr:last-child td {
    border-bottom: none;
}

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

.table__muted {
    color: rgba(122, 96, 72, 0.75);
    font-size: 0.85rem;
}

.dashboard {
    padding: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 3);
    background: linear-gradient(180deg, #f9fbf9 0%, #f3f6f5 100%);
}

.dashboard__wrap {
    width: min(1180px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 1.75);
    padding: 0;
}

.panel-section {
    width: min(960px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 2.4);
}

.panel-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1.5);
}

.panel-title {
    margin: 0;
    font-size: 2rem;
    color: rgba(15, 23, 42, 0.92);
}

.panel-subtitle {
    margin: 0;
    color: rgba(100, 116, 139, 0.88);
}

.panel-section--product .panel-header {
    background: linear-gradient(135deg, rgba(107, 70, 36, 0.92), rgba(158, 111, 69, 0.9));
    color: #fff;
    padding: calc(var(--spacing-unit) * 2.2);
    border-radius: 30px;
    box-shadow: 0 28px 60px rgba(87, 58, 31, 0.16);
    display: grid;
    gap: 12px;
}

.panel-section--product .panel-title {
    color: #fff;
    font-size: 2.35rem;
    letter-spacing: -0.01em;
}

.panel-section--product .panel-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.panel-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.74);
}

.panel-section--product .panel-header .button {
    justify-self: flex-start;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
}

.panel-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: calc(var(--spacing-unit) * 2.2);
    align-items: start;
}

.panel-product-aside {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.panel-product-tips {
    background: rgba(107, 70, 36, 0.08);
    border: 1px solid rgba(107, 70, 36, 0.14);
    border-radius: 22px;
    padding: calc(var(--spacing-unit) * 1.6);
    color: rgba(68, 41, 22, 0.84);
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.panel-product-tips strong {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.panel-product-tips ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(68, 41, 22, 0.72);
}

.panel-product-preview {
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 22px;
    border: 1px dashed rgba(107, 70, 36, 0.32);
    background: rgba(107, 70, 36, 0.06);
    min-height: 260px;
    overflow: hidden;
    color: rgba(107, 70, 36, 0.58);
    text-align: center;
    padding: 18px;
}

.panel-product-preview__placeholder {
    font-size: 0.95rem;
    max-width: 320px;
}

.panel-product-preview img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.panel-product-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.panel-product-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1);
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .panel-product-layout {
        grid-template-columns: 1fr;
    }
}

.panel-alert {
    border-radius: 22px;
    padding: calc(var(--spacing-unit) * 1.25);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.panel-alert--error {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(220, 38, 38, 0.35);
    color: #7f1d1d;
}

.panel-alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.panel-product-form {
    display: grid;
    gap: calc(var(--spacing-unit) * 2.2);
    padding: calc(var(--spacing-unit) * 2.8);
    border-radius: 36px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(249, 241, 232, 0.92));
    box-shadow: 0 30px 60px rgba(87, 58, 31, 0.12);
    border: 1px solid rgba(107, 70, 36, 0.18);
}

.panel-product-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.panel-product-form__field {
    display: grid;
    gap: 10px;
}

.panel-product-form__field label {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(68, 41, 22, 0.92);
}

.panel-product-form__field input,
.panel-product-form__field textarea,
.panel-product-form__field select {
    border: 1px solid rgba(120, 83, 48, 0.3);
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.panel-product-form__field input:focus,
.panel-product-form__field textarea:focus,
.panel-product-form__field select:focus {
    outline: none;
    border-color: rgba(148, 93, 47, 0.85);
    box-shadow: 0 0 0 3px rgba(148, 93, 47, 0.22);
}

.panel-product-form__field textarea {
    resize: vertical;
}

.panel-product-form__field--full {
    grid-column: 1 / -1;
}

.panel-product-form__hint {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(100, 116, 139, 0.86);
}

.dashboard__hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 1.75);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 24px 48px rgba(45, 28, 18, 0.08);
}

.dashboard__hero-text {
    flex: 1 1 360px;
    display: grid;
    gap: 10px;
}

.dashboard__hero-text h1 {
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.25;
    color: rgba(15, 23, 42, 0.95);
}

.dashboard__hero-text p {
    margin: 0;
    color: rgba(122, 96, 72, 0.82);
    font-size: 1.05rem;
}

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

.dashboard__hero-actions .button {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
}

.dashboard__hero-actions .button--ghost {
    background: rgba(12, 83, 48, 0.1);
    color: #7B4A1C;
    border: 1px solid rgba(12, 83, 48, 0.22);
}

.dashboard__hero-actions .button--ghost:hover,
.dashboard__hero-actions .button--ghost:focus-visible {
    background: rgba(12, 83, 48, 0.16);
    color: #064722;
}

.dashboard__hero-actions .button--primary {
    background: linear-gradient(135deg, #A66A2C 0%, #7B4A1C 100%);
    color: #f9faf8;
    box-shadow: 0 18px 32px rgba(12, 83, 48, 0.25);
}

.dashboard__hero-actions .button--primary:hover,
.dashboard__hero-actions .button--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(12, 83, 48, 0.32);
}

.dashboard__metrics {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: calc(var(--spacing-unit) * 1.25);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 16px 32px rgba(45, 28, 18, 0.08);
}

.metric-card--accent {
    background: linear-gradient(135deg, rgba(12, 83, 48, 0.12), rgba(12, 83, 48, 0.05));
    border: 1px solid rgba(12, 83, 48, 0.28);
    color: #064722;
}

.metric-card__icon {
    font-size: 1.4rem;
    color: #7B4A1C;
}

.metric-card__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(122, 96, 72, 0.75);
}

.metric-card--accent .metric-card__label,
.metric-card--accent .metric-card__trend {
    color: rgba(12, 83, 48, 0.85);
}

.metric-card__value {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.95);
}

.metric-card--accent .metric-card__value {
    color: #7B4A1C;
}

.metric-card__trend {
    display: block;
    font-size: 0.92rem;
    color: rgba(122, 96, 72, 0.7);
}

.dashboard__layout {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
}

.dashboard__card {
    background: #ffffff;
    padding: calc(var(--spacing-unit) * 1.6);
    border-radius: 28px;
    box-shadow: 0 18px 38px rgba(45, 28, 18, 0.08);
    border: 1px solid rgba(208, 213, 221, 0.6);
}

.dashboard__card--positions {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
}

.dashboard__card--insights {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
    align-content: start;
}

.dashboard__flash {
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 500;
}

.dashboard__flash--success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.panel-flash {
    border-radius: 18px;
}

.panel-flash.panel-flash--error {
    background: rgba(176, 42, 27, 0.12);
    color: #7f1d1d;
    border: 1px solid rgba(176, 42, 27, 0.2);
}

.panel-flash.panel-flash--info {
    background: rgba(195, 138, 75, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(195, 138, 75, 0.2);
    display: grid;
    gap: 6px;
}

.dashboard__positions-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.dashboard__positions-header .dashboard__subtitle {
    color: rgba(102, 78, 59, 0.7);
}

.resell-hero {
    margin: calc(var(--spacing-unit) * 3) auto;
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(75, 46, 29, 0.95), rgba(195, 138, 75, 0.9));
    color: #fff;
    text-align: left;
}

.resell-hero__content {
    max-width: 720px;
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.resell-hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
}

.resell-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
}

.resell-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.resell-steps {
    margin: calc(var(--spacing-unit) * 3) auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 1.8);
}

.resell-steps__header {
    display: flex;
    justify-content: center;
}

.resell-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: calc(var(--spacing-unit) * 1.25);
}

.resell-step {
    position: relative;
    background: #fffdf8;
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 1.8);
    box-shadow: 0 18px 28px rgba(75, 46, 29, 0.1);
    border: 1px solid rgba(214, 185, 146, 0.55);
    display: grid;
    gap: 14px;
}

.resell-step__index {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.25), rgba(195, 138, 75, 0.45));
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.resell-step h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.resell-step p {
    margin: 0;
    color: rgba(102, 78, 59, 0.78);
    line-height: 1.6;
}

.resell-pricing {
    margin: calc(var(--spacing-unit) * 3) auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 1.8);
}

.resell-pricing__header {
    display: flex;
    justify-content: center;
}

.resell-section-heading {
    position: relative;
    display: grid;
    gap: 6px;
    padding: calc(var(--spacing-unit) * 0.9) calc(var(--spacing-unit) * 1.4);
    border-radius: 18px;
    background: rgba(251, 242, 231, 0.96);
    box-shadow: 0 16px 40px rgba(75, 46, 29, 0.12);
    text-align: center;
}

.resell-section-heading::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transform: translateX(-50%);
}

.resell-section-heading h2 {
    margin: 18px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.resell-section-heading p {
    margin: 2px auto 0;
    color: rgba(102, 78, 59, 0.72);
    max-width: 540px;
}

.resell-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
    margin: 0 auto;
    max-width: 1080px;
}

.resell-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    padding: calc(var(--spacing-unit) * 2);
    border: 2px solid rgba(214, 185, 146, 0.55);
    background: #faf1e3;
    box-shadow: 0 18px 32px rgba(75, 46, 29, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.resell-plan-card--premium {
    background: #fff;
    border: 3px solid var(--color-accent);
    box-shadow: 0 26px 44px rgba(75, 46, 29, 0.18);
    transform: translateY(-6px);
}

.resell-plan-card--professional {
    background: #f6efe6;
    border-color: rgba(214, 194, 166, 0.75);
}

.resell-plan-card__body {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.resell-plan-card__header {
    display: grid;
    gap: calc(var(--spacing-unit) * 0.75);
    text-align: center;
}

.resell-plan-card__title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.resell-plan-card--basic .resell-plan-card__title {
    display: inline-flex;
    align-self: center;
    padding: 6px 18px;
    border-radius: 10px;
    background: rgba(97, 141, 204, 0.18);
    color: #324a7f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.resell-plan-card__price {
    margin: 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(75, 46, 29, 0.15);
    font-weight: 600;
    color: var(--color-primary);
}

.resell-plan-card__price-symbol {
    font-size: 1.2rem;
}

.resell-plan-card__price-value {
    font-size: 2.6rem;
}

.resell-plan-card__price-cycle {
    font-size: 1rem;
    color: rgba(102, 78, 59, 0.7);
}

.resell-plan-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(75, 46, 29, 0.1);
    padding-top: 14px;
}

.resell-plan-card__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(75, 46, 29, 0.85);
}

.resell-plan-card__feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.resell-plan-card__feature.is-included .resell-plan-card__feature-icon {
    background: rgba(64, 117, 59, 0.14);
    color: #3d6c36;
}

.resell-plan-card__feature.is-included .resell-plan-card__feature-icon::before {
    content: '✓';
}

.resell-plan-card__feature.is-excluded .resell-plan-card__feature-icon {
    background: rgba(176, 42, 27, 0.12);
    color: #a53a2b;
}

.resell-plan-card__feature.is-excluded .resell-plan-card__feature-icon::before {
    content: '✕';
}

.resell-plan-card__feature.is-excluded .resell-plan-card__feature-text {
    color: rgba(102, 78, 59, 0.55);
    text-decoration: line-through;
}

.resell-plan-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 0.5);
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.resell-plan-card__cta--basic {
    background: #f1debf;
    color: var(--color-primary);
    box-shadow: 0 12px 26px rgba(75, 46, 29, 0.18);
}

.resell-plan-card__cta--basic:hover,
.resell-plan-card__cta--basic:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(75, 46, 29, 0.24);
}

.resell-plan-card__cta--premium {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #2a160b;
    box-shadow: 0 16px 32px rgba(195, 138, 75, 0.36);
}

.resell-plan-card__cta--premium:hover,
.resell-plan-card__cta--premium:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(195, 138, 75, 0.42);
}

.resell-plan-card__cta--professional {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(75, 46, 29, 0.35);
}

.resell-plan-card__cta--professional:hover,
.resell-plan-card__cta--professional:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(75, 46, 29, 0.6);
    box-shadow: 0 14px 30px rgba(75, 46, 29, 0.18);
}

.resell-community {
    margin-top: calc(var(--spacing-unit) * 6);
    display: grid;
    gap: calc(var(--spacing-unit) * 3);
}

.resell-community__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1.5);
}

.resell-community__actions {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1);
}

.resell-empty {
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 24px;
    background: rgba(195, 138, 75, 0.08);
    color: rgba(102, 78, 59, 0.75);
    text-align: center;
}

.marketplace-card {
    position: relative;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
}

.marketplace-card--product {
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.marketplace-card--resell {
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.marketplace-card__content {
    display: grid;
    gap: calc(var(--spacing-unit) * 0.75);
}

.marketplace-card__excerpt {
    margin: 0;
    color: rgba(71, 85, 105, 0.82);
    line-height: 1.5;
}

.marketplace-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(71, 85, 105, 0.82);
}

.marketplace-card__price {
    font-weight: 700;
    color: var(--color-primary);
}

.marketplace-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(195, 138, 75, 0.12);
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.marketplace-card__link:hover,
.marketplace-card__link:focus-visible {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 18px 36px rgba(195, 138, 75, 0.22);
}

.resell-product-hero {
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 4);
}

.resell-product-hero__card {
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(195, 138, 75, 0.12), rgba(253, 242, 197, 0.8));
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.12);
}

.resell-product-hero__image img,
.resell-product-hero__image video {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 24px;
}

.resell-product-hero__content {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
}

.resell-product-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(195, 138, 75, 0.15);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.resell-product-hero__price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.3rem;
    margin: 0;
}

.resell-product-hero__price strong {
    font-size: 2rem;
    color: var(--color-primary);
}

.resell-product-hero__author {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: rgba(71, 85, 105, 0.82);
}

.resell-product-details {
    padding-bottom: calc(var(--spacing-unit) * 6);
}

.resell-product-details__card {
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
}

.resell-product-details__card h2 {
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 1.25);
}

.resell-product-details__card p {
    margin: 0;
    color: rgba(71, 85, 105, 0.85);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .resell-community__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .resell-community__actions {
        width: 100%;
    }

    .resell-community__actions .button {
        flex: 1 1 auto;
        justify-content: center;
    }

    .resell-product-hero__card {
        padding: calc(var(--spacing-unit) * 2);
    }
}
.resell-plan-card__badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.marketplace-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(75, 46, 29, 0.12);
    border: 1px solid rgba(214, 185, 146, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.marketplace-card__image {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.marketplace-card__body {
    display: grid;
    gap: calc(var(--spacing-unit) * 0.75);
    padding: calc(var(--spacing-unit) * 1.4);
}

.marketplace-card__body h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.marketplace-card__category {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(109, 152, 117, 0.12);
    color: #3f6f30;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.marketplace-card__description {
    margin: 0;
    color: rgba(102, 78, 59, 0.75);
    line-height: 1.6;
    min-height: 54px;
}

.marketplace-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.marketplace-card__price {
    font-weight: 700;
    color: var(--color-primary);
}

.marketplace-card__badge {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(75, 46, 29, 0.1);
    color: var(--color-primary);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.marketplace-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: calc(var(--spacing-unit) * 0.5);
}

.marketplace-card__seller {
    display: grid;
    gap: 2px;
    font-size: 0.88rem;
    color: rgba(102, 78, 59, 0.7);
}

.marketplace-card__seller span:first-child {
    font-weight: 600;
    color: var(--color-primary);
}

.marketplace-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #2a160b;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 16px 32px rgba(195, 138, 75, 0.28);
}

.marketplace-card__cta:hover,
.marketplace-card__cta:focus-visible {
    box-shadow: 0 22px 40px rgba(195, 138, 75, 0.36);
    transform: translateY(-1px);
}

.resell-checkout {
    margin: calc(var(--spacing-unit) * 3) auto;
    display: flex;
    justify-content: center;
}

.resell-checkout__card {
    width: min(520px, 100%);
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(75, 46, 29, 0.16);
    border: 1px solid rgba(214, 185, 146, 0.4);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
}

.resell-checkout__header {
    text-align: center;
    display: grid;
    gap: 10px;
}

.resell-checkout__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(195, 138, 75, 0.12);
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.resell-checkout__header h1 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.resell-checkout__header p {
    margin: 0;
    color: rgba(102, 78, 59, 0.78);
}

.resell-checkout__summary {
    background: rgba(251, 242, 231, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(214, 185, 146, 0.45);
    padding: calc(var(--spacing-unit) * 1.5);
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.resell-checkout__summary > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--color-primary);
}

.resell-checkout__summary > div strong {
    font-size: 2.4rem;
}

.resell-checkout__summary > div span {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.resell-checkout__summary ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: rgba(75, 46, 29, 0.75);
}

.resell-checkout__form {
    display: grid;
}

.button--wide {
    width: 100%;
    justify-content: center;
}

.resell-checkout .button--ghost {
    border: 1px solid rgba(75, 46, 29, 0.25);
}

@media (max-width: 640px) {
    .resell-checkout__card {
        padding: calc(var(--spacing-unit) * 2);
    }
}

@media (max-width: 768px) {
    .resell-hero {
        padding: calc(var(--spacing-unit) * 2);
    }
}


.dashboard__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

.dashboard__search {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 6px 16px rgba(45, 28, 18, 0.08);
}

.dashboard__search svg {
    width: 18px;
    height: 18px;
    fill: rgba(122, 96, 72, 0.6);
}

.dashboard__search input {
    flex: 1;
    border: none;
    background: transparent;
    font: inherit;
    color: var(--color-primary);
}

.dashboard__search input:focus {
    outline: none;
}

.dashboard__toolbar-selects select {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(75, 46, 29, 0.18);
    background: rgba(255, 255, 255, 0.85);
    font: inherit;
}

.dashboard__tabs {
    display: inline-flex;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(241, 245, 243, 0.9);
    align-self: flex-start;
    border: 1px solid rgba(208, 213, 221, 0.6);
}

.dashboard__tab {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(122, 96, 72, 0.75);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dashboard__tab.is-active {
    background: #7B4A1C;
    color: #f9faf8;
    box-shadow: 0 10px 18px rgba(12, 83, 48, 0.18);
}

.dashboard__empty-state {
    margin-top: calc(var(--spacing-unit) * 1);
}

.dashboard__empty-results {
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.25);
    border-radius: var(--radius-base);
    border: 1px dashed rgba(75, 46, 29, 0.16);
    background: rgba(75, 46, 29, 0.04);
    color: rgba(75, 46, 29, 0.7);
}

.dashboard__purchases {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard__insights-section h3,
.dashboard__insights-section h4 {
    margin: 0 0 12px;
    color: var(--color-primary);
}

.dashboard__insights-section + .dashboard__insights-section {
    border-top: 1px solid rgba(75, 46, 29, 0.1);
    padding-top: calc(var(--spacing-unit) * 1.1);
}

.insights-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: calc(var(--spacing-unit) * 0.75);
}

.insights-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.75);
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(75, 46, 29, 0.04);
    border: 1px solid rgba(75, 46, 29, 0.06);
}

.insights-list__item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.insights-list__item span {
    display: block;
    font-size: 0.85rem;
    color: rgba(102, 78, 59, 0.65);
}

.insights-list__badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(195, 138, 75, 0.18);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.insights-list__status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.insights-list__status.is-active {
    background: rgba(34, 197, 94, 0.16);
    color: #166534;
}

.insights-list__status.is-matured {
    background: rgba(176, 150, 126, 0.2);
    color: rgba(68, 50, 38, 0.7);
}

.insights-list__empty {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(102, 78, 59, 0.55);
}

.purchase-card {
    display: grid;
    gap: 16px;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 22px;
    border: 1px solid rgba(75, 46, 29, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 28px rgba(75, 46, 29, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(75, 46, 29, 0.16);
}

.purchase-card.is-expired {
    opacity: 0.85;
    border-style: dashed;
    border-color: rgba(239, 68, 68, 0.25);
}

.purchase-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 0.75);
}

.purchase-card__header h4 {
    margin: 0;
}

.purchase-card__date {
    font-size: 0.85rem;
    color: rgba(102, 78, 59, 0.65);
}

.purchase-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: calc(var(--spacing-unit) * 1.25);
    align-items: center;
}

.purchase-card__ring {
    --size: 110px;
    --progress: 100;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        conic-gradient(#7B4A1C calc(var(--progress) * 1%), rgba(12, 83, 48, 0.15) 0 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B4A1C;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}

.purchase-card__ring::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
}

.purchase-card__ring span {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.purchase-card__ring span small {
    font-size: 0.8rem;
    font-weight: 600;
}

.purchase-card__details {
    display: grid;
    gap: 12px;
}

.purchase-card__description {
    margin: 0;
    color: rgba(102, 78, 59, 0.8);
    font-size: 0.95rem;
}

.purchase-card__list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.purchase-card__list div {
    display: grid;
    gap: 2px;
}

.purchase-card__list dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(102, 78, 59, 0.65);
}

.purchase-card__list dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-primary);
}


.purchase-card__status {
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
}

.purchase-card__status strong {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
    color: rgba(102, 78, 59, 0.7);
}

.purchase-card__status span {
    font-weight: 600;
    color: var(--color-primary);
}

.purchase-card__status small {
    color: rgba(102, 78, 59, 0.6);
}

.purchase-card__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.purchase-card__progress-copy {
    font-weight: 600;
    color: rgba(102, 78, 59, 0.75);
}

.purchase-card__meta {
    display: flex;
    gap: calc(var(--spacing-unit) * 0.75);
    align-items: center;
    font-size: 0.85rem;
    color: rgba(102, 78, 59, 0.75);
}

.panel-purchase__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    justify-content: space-between;
}

.panel-purchase__status {
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
}

.panel-purchase__status strong {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
    color: rgba(102, 78, 59, 0.7);
}

.panel-purchase__status span {
    font-weight: 600;
    color: var(--color-primary);
}

.panel-purchase__status small {
    color: rgba(102, 78, 59, 0.6);
}

.panel-purchase__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-purchase__actions input[type="number"] {
    width: 150px;
    padding: 8px 12px;
    border-radius: var(--radius-base);
    border: 1px solid rgba(75, 46, 29, 0.16);
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
}

.panel-purchase__actions input[type="number"]:focus {
    outline: none;
    border-color: rgba(195, 138, 75, 0.6);
    box-shadow: 0 0 0 2px rgba(195, 138, 75, 0.18);
}

.panel-purchase__actions textarea {
    width: 100%;
    min-width: 220px;
    padding: 8px 12px;
    border-radius: var(--radius-base);
    border: 1px solid rgba(75, 46, 29, 0.16);
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    resize: vertical;
}

.panel-purchase__actions textarea:focus {
    outline: none;
    border-color: rgba(195, 138, 75, 0.6);
    box-shadow: 0 0 0 2px rgba(195, 138, 75, 0.18);
}

.panel-plan-banner {
    margin: calc(var(--spacing-unit) * 1) 0;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1);
    border-radius: 18px;
    border: 1px solid rgba(195, 138, 75, 0.35);
    background: rgba(195, 138, 75, 0.12);
    display: grid;
    gap: 4px;
}

.panel-plan-banner strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.panel-plan-banner span {
    font-size: 0.95rem;
    color: rgba(102, 78, 59, 0.82);
}

.is-hidden {
    display: none !important;
}

.dashboard__card--span {
    grid-column: 1 / -1;
}

.progress {
    width: 100%;
    height: 8px;
    background: rgba(75, 46, 29, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    background: linear-gradient(135deg, #7B4A1C, #A66A2C);
}

.empty-state {
    padding: calc(var(--spacing-unit) * 1.5);
    background: rgba(75, 46, 29, 0.05);
    border-radius: var(--radius-base);
}

.admin {
    width: 100%;
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 4);
    background: transparent;
}

.admin__wrap {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 2.1);
    border-radius: 30px;
    background: linear-gradient(125deg, rgba(92, 60, 34, 0.96) 0%, rgba(162, 105, 55, 0.92) 50%, rgba(207, 152, 92, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 30px 60px rgba(59, 38, 20, 0.22);
    color: #fff;
}

.admin-hero__text {
    display: grid;
    gap: 6px;
}

.admin-hero h1 {
    margin: 0 0 8px;
    font-size: 2.2rem;
}

.admin-hero__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.admin-hero__badge {
    padding: 18px 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    display: grid;
    gap: 6px;
    justify-items: center;
    min-width: 170px;
    box-shadow: 0 24px 40px rgba(92, 60, 34, 0.22);
    color: var(--color-primary);
}

.admin-hero__badge-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(75, 46, 29, 0.65);
}

.admin-hero__badge-value {
    font-size: 1.9rem;
    font-weight: 700;
}

.admin-hero__stat-card {
    min-width: 160px;
    padding: 14px 24px;
    border-radius: 20px;
    background: #fff;
    color: var(--color-primary);
    display: grid;
    gap: 4px;
    justify-items: center;
    box-shadow: 0 20px 32px rgba(75, 46, 29, 0.18);
}

.admin-hero__stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(75, 46, 29, 0.6);
}

.admin-hero__stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.admin-hero__action-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.admin-hero__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    text-decoration: none;
}

.admin-hero__action--ghost {
    background: rgba(255, 255, 255, 0.25);
    color: #2a160b;
}

.admin-hero__action--solid {
    background: rgba(44, 28, 16, 0.85);
    color: #fff;
    box-shadow: 0 14px 28px rgba(44, 28, 16, 0.25);
}

.admin-hero__action--ghost:hover,
.admin-hero__action--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.45);
}

.admin-hero__action--solid:hover,
.admin-hero__action--solid:focus-visible {
    background: rgba(33, 21, 12, 0.9);
}

@media (max-width: 900px) {
    .admin-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: calc(var(--spacing-unit) * 1.4);
    }

    .admin-hero__text {
        justify-items: center;
    }

    .admin-hero__action-group {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.admin__table {
    background: transparent;
}

.admin__table .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
    background: transparent;
    box-shadow: none;
    border: none;
}

.admin__table .table th,
.admin__table .table td {
    border-bottom: none;
}

.admin__table thead tr:first-child th {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: rgba(102, 78, 59, 0.7);
    border: none;
    padding: 0 18px 6px;
}

.admin__table thead tr:first-child {
    background: transparent;
}

.admin__table thead tr.filter-row th {
    border: none;
    padding: 0;
}

.admin__table tbody tr {
    background: #fff;
    box-shadow: 0 18px 40px rgba(92, 60, 34, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin__table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(92, 60, 34, 0.18);
}

.admin__table td,
.admin__table th {
    border: none;
}

.admin__table tbody td {
    padding: 18px;
}

.admin__table tbody tr td:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.admin__table tbody tr td:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination {
    display: flex;
    gap: 8px;
    margin-top: calc(var(--spacing-unit) * 1.5);
    justify-content: center;
}

.pagination__link {
    padding: 8px 14px;
    border-radius: var(--radius-base);
    background: rgba(75, 46, 29, 0.08);
}

.pagination__link.is-active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
}

.product-card__cta,
.nav-button,
.cta-button,
.button {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.product-card__cta:hover,
.nav-button:hover,
.cta-button:hover,
.button:hover {
    box-shadow: 0 8px 18px rgba(75, 46, 29, 0.18);
}

.product-showcase--resell {
    margin-top: calc(var(--spacing-unit) * 2.5);
}

.product-card--resell {
    border: 1px solid rgba(176, 150, 126, 0.18);
}

.product-card__cta--resell {
    background: linear-gradient(135deg, #7B4A1C, #C58A4B);
    color: #fff;
}

.product-card__cta--resell:hover,
.product-card__cta--resell:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(123, 74, 28, 0.28);
}

.badge--resell {
    background: rgba(197, 138, 75, 0.18);
    color: #7B4A1C;
}

.resell-listing {
    padding: calc(var(--spacing-unit) * 2.5) 0 calc(var(--spacing-unit) * 3.5);
}

.resell-listing__wrap {
    width: min(980px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
}

.resell-listing__header h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--color-primary);
}

.resell-listing__header p {
    margin: 0;
    color: rgba(102, 78, 59, 0.75);
}

.resell-listing__body {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(176, 150, 126, 0.18);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(75, 46, 29, 0.1);
    padding: calc(var(--spacing-unit) * 1.8);
}

.resell-listing__media img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.resell-listing__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-primary);
}

.resell-listing__description {
    color: rgba(102, 78, 59, 0.8);
    line-height: 1.6;
}

.resell-listing__notes {
    padding: calc(var(--spacing-unit) * 0.75);
    border-radius: 16px;
    background: rgba(197, 138, 75, 0.08);
    border: 1px solid rgba(197, 138, 75, 0.16);
}

.resell-listing__seller {
    display: grid;
    gap: 6px;
}

.resell-listing__hint {
    color: rgba(102, 78, 59, 0.7);
    margin: 0;
}

.resell-listing__actions {
    display: flex;
    gap: 12px;
    margin-top: calc(var(--spacing-unit) * 1.25);
}

.checkout {
    background: linear-gradient(180deg, #f5ede2 0%, #faf2e9 100%);
    padding: calc(var(--spacing-unit) * 2.5) 0 calc(var(--spacing-unit) * 3.5);
}

.checkout__wrap {
    width: min(960px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 1.75);
}

.checkout__header,
.checkout__hero {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
    padding: calc(var(--spacing-unit) * 1.6);
    box-shadow: 0 24px 48px rgba(15, 40, 70, 0.14);
    border: 1px solid rgba(75, 46, 29, 0.08);
}

.checkout__hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    background: radial-gradient(140% 180% at 0% 0%, rgba(195, 138, 75, 0.22), rgba(75, 46, 29, 0.18));
    color: var(--color-primary);
}

.checkout__hero--success {
    background: radial-gradient(140% 180% at 0% 0%, rgba(34, 197, 94, 0.22), rgba(75, 46, 29, 0.18));
}

.checkout__hero h1,
.checkout__header h2 {
    margin: 0 0 6px;
    font-size: 2rem;
    color: var(--color-primary);
}

.checkout__hero p,
.checkout__header p {
    margin: 0;
    color: rgba(102, 78, 59, 0.72);
}

.checkout__badge {
    background: rgba(255, 255, 255, 0.86);
    padding: 12px 18px;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 40, 70, 0.12);
    text-align: center;
    min-width: 150px;
}

.checkout__badge span {
    display: block;
    font-size: 0.8rem;
    color: rgba(75, 46, 29, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkout__badge strong {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-primary);
}

.checkout__badge--success strong {
    color: var(--color-state-success);
}

.checkout__layout {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.checkout__summary,
.checkout__info,
.checkout__card {
    background: #fff;
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 1.8);
    box-shadow: 0 24px 44px rgba(75, 46, 29, 0.16);
    border: 1px solid rgba(75, 46, 29, 0.08);
}

.checkout__summary h2 {
    margin: 0 0 10px;
}

.checkout__meta {
    list-style: none;
    padding: 0;
    margin: calc(var(--spacing-unit) * 1.2) 0 0;
    display: grid;
    gap: 10px;
}

.checkout__meta li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(75, 46, 29, 0.05);
    color: var(--color-primary);
}

.checkout__meta li span {
    color: rgba(102, 78, 59, 0.68);
}

.checkout__product {
    margin-top: calc(var(--spacing-unit) * 1.2);
    padding-top: calc(var(--spacing-unit) * 0.9);
    border-top: 1px solid rgba(75, 46, 29, 0.1);
    color: rgba(102, 78, 59, 0.75);
}

.checkout__info h3 {
    margin: 0 0 12px;
}

.checkout__info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: rgba(102, 78, 59, 0.7);
}

.checkout__info ul li::before {
    content: 'â€¢';
    margin-right: 8px;
    color: var(--color-primary);
}

.checkout__form,
.checkout__actions {
    display: grid;
    gap: calc(var(--spacing-unit) * 0.9);
}

.checkout__actions {
    max-width: 320px;
}

.checkout__hint {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(75, 46, 29, 0.6);
    text-align: center;
}

.checkout--success .checkout__summary {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
}

.checkout--success .checkout__card {
    border-left: 4px solid var(--color-state-success);
}

.checkout__card--error {
    border-left: 4px solid var(--color-state-error);
}

@media (max-width: 768px) {
    .checkout__wrap {
        gap: calc(var(--spacing-unit) * 1.25);
    }

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

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

    .checkout__badge,
    .checkout__actions {
        width: 100%;
    }

    .checkout__actions {
        max-width: none;
    }
}

.checkout--compact {
    background: linear-gradient(180deg, #f5ede2 0%, #faf2e9 100%);
    padding: calc(var(--spacing-unit) * 2.5) 0 calc(var(--spacing-unit) * 3.5);
}

.checkout-card {
    width: min(720px, 92%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 26px;
    box-shadow: 0 24px 48px rgba(75, 46, 29, 0.18);
    border: 1px solid rgba(75, 46, 29, 0.08);
    padding: calc(var(--spacing-unit) * 1.8);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
}

.checkout-card__header h1 {
    margin: 0 0 6px;
    font-size: 2rem;
    color: var(--color-primary);
}

.checkout-card__header p {
    margin: 0;
    color: rgba(102, 78, 59, 0.7);
}

.checkout-card__body h2 {
    margin: 0 0 8px;
    color: var(--color-primary);
}

.checkout-card__body p {
    margin: 0;
    color: rgba(102, 78, 59, 0.7);
}

.checkout-card__list {
    margin: calc(var(--spacing-unit) * 1.25) 0 0;
    padding: 0;
    display: grid;
    gap: calc(var(--spacing-unit) * 0.75);
}

.checkout-card__list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(75, 46, 29, 0.05);
}

.checkout-card__list dt {
    margin: 0;
    font-weight: 600;
    color: rgba(102, 78, 59, 0.75);
}

.checkout-card__list dd {
    margin: 0;
    color: var(--color-primary);
}

.checkout-card__form {
    display: grid;
    gap: calc(var(--spacing-unit) * 0.9);
}

.checkout-card__hint {
    margin: 0;
    text-align: center;
    color: rgba(75, 46, 29, 0.62);
    font-size: 0.9rem;
}

.filter-row {
    display: table-row;
    background: transparent;
}

.filter-row th {
    padding: 0 18px 18px;
}

.filter-row__title,
.filter-row__select,
.filter-row__number,
.filter-row__date {
    margin: 0;
}

.filter-row input,
.filter-row select {
    width: 100%;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid rgba(139, 94, 51, 0.16);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 231, 214, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    font: inherit;
    color: var(--color-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-row select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(139, 94, 51, 0.5) 50%), linear-gradient(135deg, rgba(139, 94, 51, 0.5) 50%, transparent 50%), linear-gradient(90deg, rgba(139, 94, 51, 0.16), rgba(139, 94, 51, 0.16));
    background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 12px) calc(50% - 4px), calc(100% - 2.2rem) 50%;
    background-size: 6px 6px, 6px 6px, 1px 70%;
    background-repeat: no-repeat;
}

.filter-row input:focus,
.filter-row select:focus {
    outline: none;
    border-color: rgba(195, 138, 75, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 26px rgba(195, 138, 75, 0.22);
}

.filter-row__price,
.filter-row__dates {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-row__divider {
    color: rgba(122, 96, 72, 0.55);
    font-size: 1.1rem;
}

.filter-row__title input {
    padding-left: 44px;
    background-image: url('data:image/svg+xml,%3Csvg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M15.5 14h-.79l-.28-.27A6.5 6.5 0 1016 15.5l5 5-1.5 1.5-5-5v-.79zM10.5 4a4.5 4.5 0 110 9 4.5 4.5 0 010-9z" fill="%235B3A24"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 16px 50%;
}

.profile-page {
    width: min(920px, 92%);
    margin: calc(var(--spacing-unit) * 3) auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
}

.profile-page__hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.12) 0%, rgba(75, 46, 29, 0.08) 100%);
    border: 1px solid rgba(195, 138, 75, 0.2);
    box-shadow: 0 8px 32px rgba(75, 46, 29, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.profile-page__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.2), rgba(140, 90, 47, 0.15));
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(195, 138, 75, 0.3);
    box-shadow: 0 2px 8px rgba(75, 46, 29, 0.1);
}

.profile-page__hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.profile-page__hero p {
    margin: 0;
    color: rgba(61, 42, 32, 0.75);
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.6;
}

.profile-page__status {
    padding: 10px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 101, 52, 0.1));
    color: #166534;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-page__status::before {
    content: '✓';
    font-size: 1rem;
    font-weight: 700;
}

.profile-form {
    background: #fff;
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 2.5);
    box-shadow: 0 8px 32px rgba(75, 46, 29, 0.1), 0 2px 8px rgba(75, 46, 29, 0.05);
    border: 1px solid rgba(195, 138, 75, 0.15);
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
    transition: box-shadow 0.3s ease;
}

.profile-form:hover {
    box-shadow: 0 12px 40px rgba(75, 46, 29, 0.12), 0 4px 12px rgba(75, 46, 29, 0.08);
}

.profile-form__grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.5);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profile-form__divider {
    border: none;
    border-top: 2px solid rgba(195, 138, 75, 0.1);
    margin: calc(var(--spacing-unit) * 0.5) 0;
}

.profile-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1);
    padding-top: calc(var(--spacing-unit) * 1);
    color: rgba(61, 42, 32, 0.7);
    font-size: 0.9rem;
}

.profile-form .form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form .form__group label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form__label-optional {
    font-weight: 400;
    color: rgba(61, 42, 32, 0.6);
    font-size: 0.85rem;
}

.form__label-link {
    margin-left: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.form__label-link:hover {
    color: rgba(195, 138, 75, 0.8);
    text-decoration: underline;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form input[type="password"] {
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid rgba(75, 46, 29, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 248, 245, 0.95));
    box-shadow: inset 0 2px 4px rgba(75, 46, 29, 0.04);
    font: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all 0.2s ease;
    width: 100%;
}

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="tel"]:focus,
.profile-form input[type="password"]:focus {
    outline: none;
    border-color: rgba(195, 138, 75, 0.5);
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(75, 46, 29, 0.06), 0 0 0 4px rgba(195, 138, 75, 0.1), 0 4px 12px rgba(195, 138, 75, 0.15);
    transform: translateY(-1px);
}

.profile-form input::placeholder {
    color: rgba(61, 42, 32, 0.4);
    font-style: italic;
}

.profile-form .form__error {
    color: var(--color-state-error);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-form .form__error::before {
    content: '⚠';
    font-size: 1rem;
}

.profile-form__footer-note {
    color: rgba(61, 42, 32, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-form .button--profile-save {
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(195, 138, 75, 0.3), 0 2px 8px rgba(75, 46, 29, 0.2);
    transition: all 0.2s ease;
    border: none;
    min-width: 140px;
}

.profile-form .button--profile-save:hover,
.profile-form .button--profile-save:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 138, 75, 0.4), 0 4px 12px rgba(75, 46, 29, 0.25);
    background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent));
}

.profile-form .button--profile-save:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(195, 138, 75, 0.3);
}

@media (max-width: 768px) {
    .profile-form__footer {
        flex-direction: column;
        align-items: stretch;
        gap: calc(var(--spacing-unit) * 1.25);
    }
    
    .profile-form__footer-note {
        text-align: center;
    }
    
    .profile-form .button--profile-save {
        width: 100%;
    }
    
    .profile-form__grid {
        grid-template-columns: 1fr;
    }
    
    .profile-page__hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

.admin__table .table__actions {
    justify-content: flex-end;
    gap: 10px;
}

.admin__table .table__actions .button--ghost {
    background: rgba(75, 46, 29, 0.08);
    color: var(--color-primary);
    border-radius: 999px;
    padding: 8px 18px;
}

.admin__table .table__actions .button--danger {
    border-radius: 999px;
    padding: 8px 18px;
}

.auth-layout {
    margin: 0;
    min-height: 100vh;
    background: #2A160C;
}

.auth-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 4) 1.5rem;
    overflow: hidden;
}

.auth-stage__background {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 160% at 20% 20%, rgba(214, 163, 102, 0.32), transparent 60%),
        radial-gradient(110% 140% at 80% 10%, rgba(173, 120, 70, 0.28), transparent 65%),
        linear-gradient(160deg, #3A2113 0%, #4C2A16 35%, #704019 70%, #D8B88F 115%);
}

.auth-stage__background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 20, 11, 0.8) 0%, rgba(34, 20, 11, 0.2) 100%);
}

.auth-stage__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.8;
}

.auth-stage__orb--one {
    width: 420px;
    height: 420px;
    top: 10%;
    left: -160px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 241, 222, 0.4), rgba(217, 162, 99, 0) 70%);
}

.auth-stage__orb--two {
    width: 300px;
    height: 300px;
    bottom: -120px;
    right: 8%;
    background: radial-gradient(circle at 50% 50%, rgba(201, 148, 94, 0.55), rgba(95, 56, 27, 0) 75%);
}

.auth-stage__orb--three {
    width: 360px;
    height: 360px;
    bottom: 12%;
    left: calc(50% - 180px);
    background: radial-gradient(circle at 50% 50%, rgba(243, 205, 164, 0.25), rgba(90, 53, 24, 0) 75%);
}

.auth-stage__grid {
    position: absolute;
    inset: 12% 10%;
    border-radius: 32px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.4;
}

.auth-panel {
    position: relative;
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(58, 34, 20, 0.82);
    box-shadow: 0 55px 120px rgba(26, 14, 7, 0.55);
    backdrop-filter: blur(32px);
    color: #F8F0E6;
}

.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: rgba(246, 232, 214, 0.9);
}

.auth-panel__intro {
    padding: 3.8rem 3.4rem;
    display: grid;
    gap: 1.8rem;
    align-content: center;
}

.auth-panel__intro h1 {
    margin: 0;
    font-size: 2.45rem;
    line-height: 1.2;
}

.auth-panel__intro p {
    margin: 0;
    color: rgba(245, 228, 208, 0.85);
    line-height: 1.65;
}

.auth-panel__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.auth-panel__meta-item {
    min-width: 140px;
}

.auth-panel__meta-item strong {
    display: block;
    font-size: 2rem;
}

.auth-panel__meta-item span {
    display: block;
    font-size: 0.85rem;
    color: rgba(246, 232, 214, 0.72);
}

.auth-panel__feature-grid {
    display: grid;
    gap: 1rem;
}

.auth-panel__feature-grid div {
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auth-panel__feature-grid strong {
    display: block;
    font-size: 1rem;
    color: #fdfdfd;
}

.auth-panel__feature-grid span {
    display: block;
    margin-top: 4px;
    font-size: 0.92rem;
    color: rgba(246, 232, 214, 0.78);
    line-height: 1.5;
}

.auth-panel__footer {
    margin-top: 0.5rem;
}

.auth-panel__footer > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.85rem 1.1rem;
    border-radius: 18px;
    background: rgba(63, 38, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(245, 228, 208, 0.85);
}

.auth-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 1.1rem;
}

.auth-panel__form {
    position: relative;
    padding: 4rem 3.6rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-primary);
    display: grid;
    gap: 2rem;
}

.auth-panel__form header {
    display: grid;
    gap: 0.4rem;
    padding: 1.35rem 1.6rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.16), rgba(140, 86, 40, 0.14) 55%, rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(176, 150, 126, 0.16);
    box-shadow: 0 18px 36px rgba(45, 28, 18, 0.14);
}

.auth-panel__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    color: rgba(27, 55, 104, 0.68);
    font-weight: 600;
}

.auth-panel__form header h2 {
    margin: 0;
    font-size: 1.98rem;
    color: rgba(45, 28, 18, 0.9);
}

.auth-panel__form header p {
    margin: 0;
    color: rgba(102, 78, 59, 0.68);
}

.auth-form {
    display: grid;
    gap: 1.4rem;
}

.auth-form .form__group label {
    color: rgba(75, 46, 29, 0.75);
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    border-radius: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(75, 46, 29, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(195, 138, 75, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 30px rgba(195, 138, 75, 0.16);
}

.auth-panel__switch {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(102, 78, 59, 0.7);
}

.auth-panel__switch a {
    color: var(--color-primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .auth-panel {
        width: min(720px, 100%);
        grid-template-columns: 1fr;
    }

    .auth-panel__intro {
        padding: 3.2rem 2.6rem 2.6rem;
    }

    .auth-panel__form {
        padding: 3.2rem 2.6rem;
    }

    .auth-stage__grid {
        inset: 14% 6%;
    }
}

@media (max-width: 640px) {
    .auth-stage {
        padding: calc(var(--spacing-unit) * 3) 1.1rem;
    }

    .auth-panel {
        border-radius: 26px;
    }

    .auth-panel__intro {
        padding: 2.6rem 1.8rem 2.2rem;
    }

    .auth-panel__form {
        padding: 2.6rem 1.8rem 2.4rem;
    }

    .auth-panel__meta {
        gap: 1rem;
    }

    .auth-panel__meta-item {
        min-width: 120px;
    }

    .auth-panel__feature-grid div {
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 520px) {
    .auth-panel {
        border-radius: 22px;
    }

    .auth-panel__intro h1 {
        font-size: 1.8rem;
    }

    .auth-panel__form header h2 {
        font-size: 1.6rem;
    }

    .auth-panel__meta-item strong {
        font-size: 1.5rem;
    }

    .auth-panel__switch {
        font-size: 0.9rem;
    }

    .auth-form input {
        padding: 11px 13px;
    }
}

.admin-editor {
    padding: calc(var(--spacing-unit) * 3.5) 0 calc(var(--spacing-unit) * 4.5);
    background: linear-gradient(180deg, #f5ede4 0%, #efe3d6 100%);
}

.admin-editor__wrap {
    width: min(1160px, 92%);
    margin: 0 auto;
    display: grid;
    gap: calc(var(--spacing-unit) * 2.2);
}

.admin-editor__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 2.4);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(92, 60, 34, 0.96) 0%, rgba(165, 110, 63, 0.92) 50%, rgba(215, 162, 102, 0.9) 100%);
    box-shadow: 0 36px 70px rgba(59, 38, 20, 0.2);
    color: #fff;
    flex-wrap: wrap;
}

.admin-editor__header h1 {
    margin: 0;
    font-size: 2.4rem;
}

.admin-editor__header p {
    margin: 8px 0 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
}

.admin-editor__eyebrow {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: rgba(246, 232, 214, 0.9);
}

.admin-editor__actions {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.admin-editor__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: calc(var(--spacing-unit) * 2);
}

.admin-editor__form {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.6);
}

.admin-card {
    background: #fff;
    border-radius: 26px;
    padding: calc(var(--spacing-unit) * 2.2) calc(var(--spacing-unit) * 2.4);
    box-shadow: 0 28px 60px rgba(63, 38, 22, 0.12);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.6);
}

.admin-card header {
    position: relative;
    padding: 1.15rem 1.4rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.18), rgba(140, 86, 40, 0.12) 55%, rgba(255, 255, 255, 0.96));
    box-shadow: 0 16px 30px rgba(63, 38, 22, 0.12);
}

.admin-card header::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(176, 150, 126, 0.18);
    pointer-events: none;
}

.admin-card header > * {
    position: relative;
    z-index: 1;
}

.admin-card header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.admin-card header p {
    margin: 0.4rem 0 0;
    color: rgba(102, 78, 59, 0.7);
}

.admin-card--accent {
    background: linear-gradient(180deg, #3b2517 0%, #4d2f1c 60%, #5c3821 100%);
    border-radius: 28px;
    box-shadow: 0 26px 48px rgba(28, 16, 8, 0.35);
    padding: calc(var(--spacing-unit) * 1.8);
    color: rgba(248, 236, 220, 0.92);
}

.admin-card--accent header h2,
.admin-card--accent header p {
    color: inherit;
}

.admin-card--tones {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 48px rgba(63, 38, 22, 0.14);
}

.admin-card--error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.04));
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.admin-card--error header {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.08));
}

.admin-card--error header h2 {
    color: #dc3545;
}

.admin-form__error-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.admin-form__error-list li {
    color: #dc3545;
    font-size: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
}

.admin-form__error-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.form__label-required {
    color: #dc3545;
    font-weight: 600;
    margin-left: 4px;
}

.form__input--error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.form__input--disabled {
    background-color: rgba(102, 78, 59, 0.08) !important;
    color: rgba(102, 78, 59, 0.6) !important;
    cursor: not-allowed !important;
}

/* Post Detail Modal */
.post-detail {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.post-detail__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.post-detail__container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 95vh;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: postDetailFadeIn 0.3s ease-out;
}

@keyframes postDetailFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.post-detail__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 78, 59, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #664e3b;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-detail__close:hover {
    background: #fff;
    border-color: rgba(102, 78, 59, 0.4);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.post-detail__close span {
    line-height: 1;
    margin-top: -2px;
}

.post-detail__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 95vh;
    overflow: hidden;
}

@media (max-width: 968px) {
    .post-detail__content {
        grid-template-columns: 1fr;
        max-height: none;
    }
}

.post-detail__media {
    position: relative;
    background: #f5f5f5;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-detail__video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-detail__video video {
    width: 100%;
    max-height: 95vh;
    object-fit: contain;
}

.post-detail__gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.post-detail__gallery-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-detail__gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 95vh;
}

.post-detail__gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 78, 59, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #664e3b;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-detail__gallery-nav:hover {
    background: #fff;
    border-color: rgba(102, 78, 59, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.post-detail__gallery-nav--prev {
    left: 20px;
}

.post-detail__gallery-nav--next {
    right: 20px;
}

.post-detail__gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: calc(100% - 40px);
    overflow-x: auto;
}

.post-detail__gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f5f5f5;
    padding: 0;
    flex-shrink: 0;
}

.post-detail__gallery-thumb:hover {
    border-color: rgba(102, 78, 59, 0.4);
    transform: scale(1.05);
}

.post-detail__gallery-thumb.is-active {
    border-color: #c38a4b;
    box-shadow: 0 0 0 2px rgba(195, 138, 75, 0.2);
}

.post-detail__gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-detail__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 95vh;
}

.post-detail__info {
    padding: 40px;
    overflow-y: auto;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 968px) {
    .post-detail__info {
        padding: 24px;
        max-height: none;
    }
}

.post-detail__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(102, 78, 59, 0.1);
}

.post-detail__category {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(195, 138, 75, 0.15), rgba(140, 86, 40, 0.1));
    border: 1px solid rgba(195, 138, 75, 0.3);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c38a4b;
    width: fit-content;
}

.post-detail__title {
    font-size: 2rem;
    font-weight: 700;
    color: #3d2a20;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 968px) {
    .post-detail__title {
        font-size: 1.5rem;
    }
}

.post-detail__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-detail__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c38a4b;
}

.post-detail__author {
    font-size: 0.95rem;
    color: rgba(102, 78, 59, 0.7);
}

.post-detail__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-detail__description h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3d2a20;
    margin: 0 0 12px 0;
}

.post-detail__description p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(61, 42, 32, 0.8);
    margin: 0;
    white-space: pre-wrap;
}

.post-detail__contact-info {
    padding-top: 24px;
    border-top: 1px solid rgba(102, 78, 59, 0.1);
    margin-top: 8px;
}

.post-detail__contact-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3d2a20;
    margin: 0 0 20px 0;
}

.post-detail__contact-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.post-detail__contact-field:last-child {
    margin-bottom: 0;
}

.post-detail__contact-field strong {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(102, 78, 59, 0.7);
    font-weight: 600;
}

.post-detail__contact-field a {
    font-size: 1rem;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.post-detail__contact-field a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.post-detail__contact-empty {
    font-size: 1rem;
    color: rgba(102, 78, 59, 0.6);
    font-style: italic;
}

.post-detail__actions {
    padding-top: 24px;
    border-top: 1px solid rgba(102, 78, 59, 0.1);
}

.post-detail__actions .button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
}

.marketplace-card--clickable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketplace-card--clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.marketplace-card__admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(102, 78, 59, 0.1);
    justify-content: flex-end;
}

.marketplace-card__admin-actions .button {
    font-size: 0.875rem;
    padding: 6px 12px;
}

.button--danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    border: none;
}

.button--danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
}

.button--small {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

.alert--success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert--error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.admin-form__stack {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

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

.admin-editor__aside {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.media-upload {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.6);
}

.media-upload__preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 22px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 60%), rgba(59, 37, 23, 0.6);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-upload__preview::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 2px dashed rgba(248, 236, 220, 0.35);
    pointer-events: none;
}

.media-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.media-upload__preview.is-empty img {
    display: none;
}

.media-upload__placeholder-copy {
    position: relative;
    z-index: 1;
    max-width: 220px;
    text-align: center;
    color: rgba(248, 236, 220, 0.86);
    font-weight: 600;
    line-height: 1.5;
}

.media-upload__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: calc(var(--spacing-unit) * 1.4);
    border-radius: 20px;
    background: rgba(43, 23, 12, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(248, 236, 220, 0.92);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-upload__field:hover,
.media-upload__field:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(28, 16, 8, 0.35);
}

.media-upload__field input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.media-upload__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 1.2rem;
}

.media-upload__field div strong {
    display: block;
    font-size: 1rem;
    color: rgba(248, 236, 220, 0.95);
}

.media-upload__field div span {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: rgba(248, 236, 220, 0.7);
}

.media-upload__filename {
    font-size: 0.9rem;
    color: rgba(248, 236, 220, 0.78);
}

.admin-tips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.admin-tips li {
    display: grid;
    gap: 4px;
}

.admin-tips strong {
    color: var(--color-primary);
}

.admin-tips span {
    color: rgba(102, 78, 59, 0.75);
}

.admin-card--accent .media-upload__placeholder,
.admin-card--accent .media-upload__field,
.admin-card--accent .media-upload__field span,
.admin-card--accent .media-upload__field strong,
.admin-card--accent .admin-tips strong,
.admin-card--accent .admin-tips span {
    color: rgba(248, 236, 220, 0.92);
}

.admin-card--accent .admin-tips span {
    color: rgba(240, 220, 198, 0.75);
}

@media (max-width: 1024px) {
    .admin-editor__grid {
        grid-template-columns: 1fr;
    }

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

/* Responsive enhancements */
.panel-board {
    background: #fffdf9;
    border-radius: 36px;
    padding: calc(var(--spacing-unit) * 1.8);
    box-shadow: 0 25px 55px rgba(21, 12, 5, 0.08);
    border: 1px solid rgba(139, 94, 51, 0.08);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.panel-board__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 0.75);
    align-items: flex-start;
}

.panel-board__header h1 {
    margin: 4px 0;
    font-size: 2rem;
    color: rgba(27, 18, 9, 0.95);
}

.panel-board__header p {
    margin: 0;
    color: rgba(79, 58, 42, 0.78);
}

.panel-board__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(79, 58, 42, 0.65);
}

.panel-board__badge {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(51, 87, 36, 0.25);
    background: rgba(34, 197, 94, 0.12);
    color: #2f5f2a;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-board__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.panel-board__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(139, 94, 51, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex: 1 1 320px;
}

.panel-board__search svg {
    width: 18px;
    height: 18px;
    fill: rgba(81, 59, 40, 0.65);
}

.panel-board__search input {
    border: none;
    background: transparent;
    font: inherit;
    color: rgba(27, 18, 9, 0.9);
    width: 100%;
}

.panel-board__search input:focus {
    outline: none;
}

.panel-board__select {
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(139, 94, 51, 0.25);
    background: #fff;
    font: inherit;
}

.panel-purchases {
    margin-top: calc(var(--spacing-unit) * 2.5);
}

.panel-purchases__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: calc(var(--spacing-unit) * 1.5);
}

.panel-purchases__main {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
}

.panel-purchases__list {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel-purchases__aside {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.25);
}

.panel-purchases__tabs {
    margin-top: calc(var(--spacing-unit) * 0.5);
    width: 100%;
}

.panel-purchases__tabs .dashboard__tab {
    min-width: 140px;
    flex: 1 1 auto;
}

@media (max-width: 960px) {
    .panel-board__header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 700px) {
    .panel-board__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-board__search,
    .panel-board__select {
        width: 100%;
    }

    .panel-board__header {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .panel-board {
        padding: calc(var(--spacing-unit) * 1.2);
        border-radius: 28px;
    }

    .panel-board__header h1 {
        font-size: 1.45rem;
    }

    .panel-board__search {
        padding: 10px 14px;
    }
}

@media (max-width: 900px) {
    .panel-purchases__grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 1);
    }

    .panel-purchases__aside {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .panel-purchases__tabs {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .panel-purchases__grid {
        gap: calc(var(--spacing-unit) * 0.75);
    }

    .panel-purchases__list {
        grid-template-columns: 1fr;
    }

    .panel-purchases__tabs {
        justify-content: flex-start;
    }

    .panel-purchases__tabs .dashboard__tab {
        flex: 1 1 140px;
        text-align: center;
    }

    .panel-purchases__aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-editor__header {
        padding: calc(var(--spacing-unit) * 1.8);
        border-radius: 26px;
    }

    .admin-card {
        padding: calc(var(--spacing-unit) * 1.8) calc(var(--spacing-unit) * 1.9);
        border-radius: 22px;
    }

    .admin-editor__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.dashboard__summary {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-card {
    display: grid;
    gap: 6px;
    padding: calc(var(--spacing-unit) * 1.2);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 16px 32px rgba(45, 28, 18, 0.08);
}

.summary-card--accent {
    border-color: rgba(12, 83, 48, 0.28);
    background: linear-gradient(135deg, rgba(12, 83, 48, 0.12), rgba(12, 83, 48, 0.05));
}

.summary-card__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(122, 96, 72, 0.75);
}

.summary-card__value {
    font-size: 2.1rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.95);
}

.summary-card__meta {
    font-size: 0.92rem;
    color: rgba(122, 96, 72, 0.7);
}

.dashboard__overview {
    background: #ffffff;
    border-radius: 32px;
    padding: calc(var(--spacing-unit) * 2);
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 24px 48px rgba(45, 28, 18, 0.08);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.dashboard__overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

.dashboard__overview-header h2 {
    margin: 0 0 6px;
    color: rgba(15, 23, 42, 0.92);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

/* Subscription Status Badge - Brown/gold badge next to title */
.subscription-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-left: 12px;
    background: linear-gradient(135deg, #e8dcc6 0%, #d4c4a8 100%);
    border: 1px solid rgba(195, 138, 75, 0.4);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(195, 138, 75, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.subscription-status-badge__plan {
    color: #8b5a2b;
    font-weight: 700;
}

.subscription-status-badge__time {
    color: #a67c52;
    font-weight: 600;
}

.dashboard__overview-header p {
    margin: 0;
    color: rgba(122, 96, 72, 0.72);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(12, 83, 48, 0.12);
    color: #7B4A1C;
}

.status-pill--success {
    background: rgba(12, 83, 48, 0.16);
}

.dashboard__overview-grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.overview-stat {
    display: grid;
    gap: 4px;
}

.overview-stat__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(122, 96, 72, 0.75);
}

.overview-stat__value {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.95);
}

.overview-stat__hint {
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.68);
}

.dashboard__marketplace {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
}

.dashboard__section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

.dashboard__section-header h2 {
    margin: 0 0 6px;
    color: rgba(15, 23, 42, 0.92);
}

.dashboard__section-header p {
    margin: 0;
    color: rgba(122, 96, 72, 0.72);
}

.dashboard__section-actions {
    display: inline-flex;
    gap: 10px;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pill-button--primary {
    background: linear-gradient(135deg, #A66A2C 0%, #7B4A1C 100%);
    color: #f9faf8;
    box-shadow: 0 18px 30px rgba(12, 83, 48, 0.22);
}

.pill-button--primary:hover,
.pill-button--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(12, 83, 48, 0.28);
}

.pill-button--ghost {
    background: rgba(12, 83, 48, 0.08);
    color: #7B4A1C;
    border-color: rgba(12, 83, 48, 0.2);
}

.pill-button--ghost:hover,
.pill-button--ghost:focus-visible {
    background: rgba(12, 83, 48, 0.12);
}

.dashboard__marketplace-grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.marketplace-card {
    display: grid;
    gap: 12px;
    background: #ffffff;
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 1.4);
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 18px 38px rgba(45, 28, 18, 0.08);
}

.marketplace-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.marketplace-card__header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.92);
}

.marketplace-card__location {
    display: block;
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.68);
}

.marketplace-card__body {
    display: grid;
    gap: 8px;
}

.marketplace-card__metric {
    display: grid;
    gap: 2px;
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.75);
}

.marketplace-card__metric-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.marketplace-card__metric-value {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.92);
}

.marketplace-card__footer {
    display: flex;
    justify-content: flex-start;
}

.marketplace-card--empty {
    align-items: center;
    text-align: center;
}

.dashboard__positions {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
}

.panel-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-upload__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.panel-upload__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #b07a43, #8d5c2c);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(141, 92, 44, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel-upload__button:hover,
.panel-upload__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(141, 92, 44, 0.28);
}

.panel-upload__filename {
    font-size: 0.9rem;
    color: rgba(248, 236, 220, 0.78);
}

.panel-upload__hint {
    margin: 4px 0 0;
}

@media (max-width: 768px) {
    .panel-product-layout {
        grid-template-columns: 1fr;
    }

    .panel-upload {
        flex-wrap: wrap;
    }
}

.media-upload {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.6);
}

.media-carousel {
    position: relative;
}

.media-carousel__control {
    position: absolute;
    bottom: -10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 37, 23, 0.38);
    color: rgba(248, 236, 220, 0.94);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.media-carousel__control:hover,
.media-carousel__control:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(28, 16, 8, 0.35);
    background: rgba(59, 37, 23, 0.5);
}

.media-carousel__control:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.media-carousel__control--prev {
    left: 28px;
}

.media-carousel__control--next {
    right: 28px;
}

.media-carousel__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 3;
}

.media-carousel__close:hover,
.media-carousel__close:focus-visible {
    background: rgba(0, 0, 0, 0.52);
    transform: scale(1.05);
}

.media-carousel__close.is-hidden {
    display: none;
}

.media-upload__preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 22px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 60%), rgba(59, 37, 23, 0.6);
    overflow: hidden;
}

.media-upload__preview::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 2px dashed rgba(248, 236, 220, 0.35);
    pointer-events: none;
}

.media-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.media-upload__preview.is-empty img {
    display: none;
}

.media-upload__placeholder-copy {
    position: relative;
    z-index: 1;
    max-width: 220px;
    text-align: center;
    color: rgba(248, 236, 220, 0.86);
    font-weight: 600;
    line-height: 1.5;
}

.media-upload__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: calc(var(--spacing-unit) * 1.4);
    border-radius: 20px;
    background: rgba(43, 23, 12, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(248, 236, 220, 0.92);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-upload__field:hover,
.media-upload__field:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(28, 16, 8, 0.35);
}

.media-upload__field input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.media-upload__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 1.2rem;
}

.media-upload__field div strong {
    display: block;
    font-size: 1rem;
    color: rgba(248, 236, 220, 0.95);
}

.media-upload__field div span {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: rgba(248, 236, 220, 0.7);
}

.media-upload__filename {
    font-size: 0.9rem;
    color: rgba(248, 236, 220, 0.78);
}

.admin-tips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
}

.admin-tips li {
    display: grid;
    gap: 4px;
}

.admin-tips strong {
    color: var(--color-primary);
}

.admin-tips span {
    color: rgba(102, 78, 59, 0.75);
}

.admin-card--accent .media-upload__placeholder,
.admin-card--accent .media-upload__field,
.admin-card--accent .media-upload__field span,
.admin-card--accent .media-upload__field strong,
.admin-card--accent .admin-tips strong,
.admin-card--accent .admin-tips span {
    color: rgba(248, 236, 220, 0.92);
}

.admin-card--accent .admin-tips span {
    color: rgba(240, 220, 198, 0.75);
}

@media (max-width: 1024px) {
    .admin-editor__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .admin-editor__header {
        padding: calc(var(--spacing-unit) * 1.8);
        border-radius: 26px;
    }

    .admin-card {
        padding: calc(var(--spacing-unit) * 1.8) calc(var(--spacing-unit) * 1.9);
        border-radius: 22px;
    }

    .admin-editor__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.dashboard__summary {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-card {
    display: grid;
    gap: 6px;
    padding: calc(var(--spacing-unit) * 1.2);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 16px 32px rgba(45, 28, 18, 0.08);
}

.summary-card--accent {
    border-color: rgba(12, 83, 48, 0.28);
    background: linear-gradient(135deg, rgba(12, 83, 48, 0.12), rgba(12, 83, 48, 0.05));
}

.summary-card__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(122, 96, 72, 0.75);
}

.summary-card__value {
    font-size: 2.1rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.95);
}

.summary-card__meta {
    font-size: 0.92rem;
    color: rgba(122, 96, 72, 0.7);
}

.dashboard__overview {
    background: #ffffff;
    border-radius: 32px;
    padding: calc(var(--spacing-unit) * 2);
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 24px 48px rgba(45, 28, 18, 0.08);
    display: grid;
    gap: calc(var(--spacing-unit) * 1.4);
}

.dashboard__overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

.dashboard__overview-header h2 {
    margin: 0 0 6px;
    color: rgba(15, 23, 42, 0.92);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

/* Subscription Status Badge - Brown/gold badge next to title */
.subscription-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-left: 12px;
    background: linear-gradient(135deg, #e8dcc6 0%, #d4c4a8 100%);
    border: 1px solid rgba(195, 138, 75, 0.4);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(195, 138, 75, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.subscription-status-badge__plan {
    color: #8b5a2b;
    font-weight: 700;
}

.subscription-status-badge__time {
    color: #a67c52;
    font-weight: 600;
}

.dashboard__overview-header p {
    margin: 0;
    color: rgba(122, 96, 72, 0.72);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(12, 83, 48, 0.12);
    color: #7B4A1C;
}

.status-pill--success {
    background: rgba(12, 83, 48, 0.16);
}

.dashboard__overview-grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.overview-stat {
    display: grid;
    gap: 4px;
}

.overview-stat__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(122, 96, 72, 0.75);
}

.overview-stat__value {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.95);
}

.overview-stat__hint {
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.68);
}

.dashboard__marketplace {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
}

.dashboard__section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 1);
    flex-wrap: wrap;
}

.dashboard__section-header h2 {
    margin: 0 0 6px;
    color: rgba(15, 23, 42, 0.92);
}

.dashboard__section-header p {
    margin: 0;
    color: rgba(122, 96, 72, 0.72);
}

.dashboard__section-actions {
    display: inline-flex;
    gap: 10px;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pill-button--primary {
    background: linear-gradient(135deg, #A66A2C 0%, #7B4A1C 100%);
    color: #f9faf8;
    box-shadow: 0 18px 30px rgba(12, 83, 48, 0.22);
}

.pill-button--primary:hover,
.pill-button--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(12, 83, 48, 0.28);
}

.pill-button--ghost {
    background: rgba(12, 83, 48, 0.08);
    color: #7B4A1C;
    border-color: rgba(12, 83, 48, 0.2);
}

.pill-button--ghost:hover,
.pill-button--ghost:focus-visible {
    background: rgba(12, 83, 48, 0.12);
}

.dashboard__marketplace-grid {
    display: grid;
    gap: calc(var(--spacing-unit) * 1);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.marketplace-card {
    display: grid;
    gap: 12px;
    background: #ffffff;
    border-radius: 24px;
    padding: calc(var(--spacing-unit) * 1.4);
    border: 1px solid rgba(208, 213, 221, 0.6);
    box-shadow: 0 18px 38px rgba(45, 28, 18, 0.08);
}

.marketplace-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.marketplace-card__header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(15, 23, 42, 0.92);
}

.marketplace-card__location {
    display: block;
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.68);
}

.marketplace-card__body {
    display: grid;
    gap: 8px;
}

.marketplace-card__metric {
    display: grid;
    gap: 2px;
    font-size: 0.9rem;
    color: rgba(122, 96, 72, 0.75);
}

.marketplace-card__metric-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.marketplace-card__metric-value {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.92);
}

.marketplace-card__footer {
    display: flex;
    justify-content: flex-start;
}

.marketplace-card--empty {
    align-items: center;
    text-align: center;
}

.dashboard__positions {
    display: grid;
    gap: calc(var(--spacing-unit) * 1.2);
}

.panel-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-upload__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.panel-upload__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #b07a43, #8d5c2c);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(141, 92, 44, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel-upload__button:hover,
.panel-upload__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(141, 92, 44, 0.28);
}

.panel-upload__filename {
    font-size: 0.9rem;
    color: rgba(248, 236, 220, 0.78);
}

.panel-upload__hint {
    margin: 4px 0 0;
}

@media (max-width: 768px) {
    .panel-product-layout {
        grid-template-columns: 1fr;
    }

    .panel-upload {
        flex-wrap: wrap;
    }
}

.media-upload__field--secondary {
    background: rgba(43, 23, 12, 0.25);
    border-style: dashed;
}

.media-upload__field--secondary .media-upload__icon {
    background: rgba(255, 255, 255, 0.16);
}

.media-upload__remove {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(248, 236, 220, 0.85);
}

.media-upload__remove input {
    width: 18px;
    height: 18px;
    accent-color: #2b170c;
}

.media-upload__preview:hover,
.media-upload__preview:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(28, 16, 8, 0.36);
}

.product-card__carousel {
    position: relative;
    border-radius: calc(var(--radius-base) - 4px);
    overflow: hidden;
    margin: calc(var(--spacing-unit) * 0.25) 0 calc(var(--spacing-unit) * 0.75);
}

.product-card__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card__carousel-control {
    position: absolute;
    bottom: -10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(123, 74, 28, 0.82);
    color: #f8f4ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(38, 20, 9, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 1;
}

.product-card__carousel-control:hover,
.product-card__carousel-control:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(38, 20, 9, 0.34);
    background: rgba(123, 74, 28, 0.92);
}

.product-card__carousel-control--prev {
    left: 18px;
}

.product-card__carousel-control--next {
    right: 18px;
}

.product-card__carousel-control.is-hidden {
    display: none;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(102, 78, 59, 0.1);
}

.pagination-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(102, 78, 59, 0.7);
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-select {
    padding: 6px 12px;
    border: 1px solid rgba(102, 78, 59, 0.2);
    border-radius: 6px;
    background: #fff;
    color: #3d2a20;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-select:hover {
    border-color: rgba(102, 78, 59, 0.4);
    background: rgba(102, 78, 59, 0.02);
}

.pagination-select:focus {
    outline: none;
    border-color: #664e3b;
    box-shadow: 0 0 0 3px rgba(102, 78, 59, 0.1);
}

.pagination-total {
    color: rgba(102, 78, 59, 0.6);
    font-weight: 500;
}

.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(102, 78, 59, 0.2);
    border-radius: 6px;
    background: #fff;
    color: #3d2a20;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-link:hover:not(.pagination-link--disabled):not(.pagination-link--active) {
    background: rgba(102, 78, 59, 0.05);
    border-color: rgba(102, 78, 59, 0.3);
    transform: translateY(-1px);
}

.pagination-link--active {
    background: linear-gradient(135deg, #664e3b, #3d2a20);
    color: #fff;
    border-color: #664e3b;
    cursor: default;
    font-weight: 600;
}

.pagination-link--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: rgba(102, 78, 59, 0.5);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .pagination-controls {
        gap: 16px;
    }

    .pagination-info {
        font-size: 0.75rem;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.75rem;
    }
}

/* Estilos para la sección de imagen del ganado - VERSION CORREGIDA */
.home-cattle-image {
    padding: 0;
    margin: 3rem 0;
    position: relative;
}

.home-cattle-image__container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-cattle-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-cattle-image__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: 2rem;
    color: white;
}

.home-cattle-image__content {
    max-width: 600px;
}

.home-cattle-image__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.home-cattle-image__description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    margin: 0;
}

/* Media queries específicas para control de altura */
@media (min-width: 1024px) {
    .home-cattle-image__container {
        max-width: 1200px;
        height: 500px; /* Altura fija en desktop */
    }
    
    .home-cattle-image__img {
        height: 500px; /* Altura fija en desktop */
        width: 100%;
        object-fit: cover;
    }
    
    .home-cattle-image__title {
        font-size: 2.5rem;
    }
    
    .home-cattle-image__description {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .home-cattle-image__container {
        max-width: 95%;
        height: 400px; /* Altura media para tablets */
    }
    
    .home-cattle-image__img {
        height: 400px; /* Altura media para tablets */
        width: 100%;
        object-fit: cover;
    }
    
    .home-cattle-image__overlay {
        padding: 1.5rem;
    }
    
    .home-cattle-image__title {
        font-size: 2rem;
    }
    
    .home-cattle-image__description {
        font-size: 1.125rem;
    }
}

@media (max-width: 767px) {
    .home-cattle-image {
        margin: 2rem 0;
    }
    
    .home-cattle-image__container {
        max-width: 95%;
        margin: 0 auto;
        height: 250px; /* Altura reducida para móviles */
        border-radius: 12px;
    }
    
    .home-cattle-image__img {
        height: 250px; /* Altura reducida para móviles */
        width: 100%;
        object-fit: cover;
    }
    
    .home-cattle-image__overlay {
        padding: 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    }
    
    .home-cattle-image__title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .home-cattle-image__description {
        font-size: 0.875rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limita a 2 líneas en móvil */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Para pantallas extra grandes */
@media (min-width: 1400px) {
    .home-cattle-image__container {
        max-width: 1300px;
        height: 550px;
    }
    
    .home-cattle-image__img {
        height: 550px;
    }
}