@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
    --color-primary: #293E21;
    --color-cream: #F8EFE3;
    --color-gold: #C7A76C;
    --sidebar-width: 240px;
    --radius-card: 16px;
    --radius-pill: 9999px;
}

/* ── Admin base scale (fixes zoomed look) ── */
html.admin-root { font-size: 14px; }
html.admin-root body {
    font-family: 'Poppins', sans-serif;
    background: var(--color-cream);
    color: #1D1D1D;
    overflow-x: hidden;
    line-height: 1.5;
}
.font-serif-heading { font-family: 'Playfair Display', Georgia, serif; }

/* ── Sidebar ── */
.admin-sidebar {
    background: linear-gradient(180deg, #293E21 0%, #1b2b16 100%);
    width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width);
}
.admin-sidebar-link {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 0.5625rem 0.875rem; border-radius: 10px;
    color: rgba(255,255,255,0.75); font-size: 0.8125rem; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
}
/* Reset native button styles — default white bg hid white logout text */
button.admin-sidebar-link {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.admin-sidebar-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-sidebar-link.active {
    background: rgba(199,167,108,0.2); color: #C7A76C;
    border-left: 3px solid #C7A76C;
}
.admin-sidebar .sidebar-brand { padding: 1.125rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .sidebar-brand h1 { font-size: 1.0625rem; font-weight: 700; color: #fff; margin: 0; }
.admin-sidebar .sidebar-brand p { font-size: 0.625rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }
.admin-sidebar nav { padding: 0.75rem; flex: 1; overflow-y: auto; }
.admin-sidebar .sidebar-footer { padding: 0.875rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ── Main area ── */
.admin-main {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}
@media (min-width: 1024px) {
    .admin-main { margin-left: var(--sidebar-width); }
}
.admin-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(248,239,227,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid #E8DDCF;
    padding: 0.875rem 1.25rem;
}
.admin-header h2 { font-size: 1.125rem; font-weight: 700; color: #293E21; margin: 0; }
.admin-header p { font-size: 0.6875rem; color: #6F6F6F; margin: 0.125rem 0 0; }
.admin-content { padding: 1rem 1.25rem; max-width: 100%; overflow-x: hidden; }
@media (min-width: 1024px) {
    .admin-content { padding: 1.25rem 1.5rem; }
}

/* ── Buttons ── */
.btn-primary, .btn-gold, .btn-outline, .btn-danger, .btn-filter, .btn-soft, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
    padding: 0.5rem 1.125rem; font-weight: 600; font-size: 0.8125rem;
    border-radius: var(--radius-pill); transition: all 0.22s ease; cursor: pointer;
    text-decoration: none; border: none; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(41,62,33,0.08);
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #293E21 0%, #3a5530 100%);
    color: #fff;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #3c5a31 0%, #293E21 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(41,62,33,0.22);
}
.btn-gold {
    background: linear-gradient(135deg, #C7A76C 0%, #b8945a 100%);
    color: #fff;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d4b67d 0%, #C7A76C 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(199,167,108,0.35);
}
.btn-outline {
    background: #fff;
    color: #293E21;
    border: 1.5px solid #E8DDCF;
    box-shadow: 0 1px 4px rgba(41,62,33,0.05);
}
.btn-outline:hover {
    border-color: #C7A76C;
    color: #293E21;
    background: #FAF4EB;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(199,167,108,0.18);
}
.btn-filter {
    background: linear-gradient(135deg, #293E21 0%, #4a6b3c 100%);
    color: #fff;
    padding: 0.5rem 1.25rem;
}
.btn-filter:hover {
    background: linear-gradient(135deg, #3c5a31 0%, #293E21 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(41,62,33,0.25);
}
.btn-soft {
    background: linear-gradient(180deg, #fff 0%, #FAF4EB 100%);
    color: #293E21;
    border: 1.5px solid #E8DDCF;
}
.btn-soft:hover {
    border-color: #C7A76C;
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(199,167,108,0.15);
}
.btn-ghost {
    background: transparent;
    color: #6F6F6F;
    border: 1.5px dashed #D4C4B0;
    box-shadow: none;
}
.btn-ghost:hover {
    color: #293E21;
    border-color: #C7A76C;
    background: rgba(199,167,108,0.08);
}
.btn-danger {
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
    color: #dc2626;
    border: 1.5px solid #fecaca;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
}
.btn-danger:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(220,38,38,0.25);
}
.btn-sm { padding: 0.4375rem 1rem; font-size: 0.75rem; }
.btn-icon { padding: 0.4375rem 0.75rem; }

/* ── Cards ── */
.card { background: #FAF4EB; border-radius: var(--radius-card); border: 1px solid #E8DDCF; box-shadow: 0 4px 16px -4px rgba(41,62,33,0.08); }
.card-white { background: #fff; border-radius: var(--radius-card); border: 1px solid #E8DDCF; box-shadow: 0 4px 16px -4px rgba(41,62,33,0.06); }

/* ── Forms ── */
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.5625rem 0.875rem; background: #fff;
    border: 1.5px solid #E8DDCF; border-radius: 10px;
    font-size: 0.8125rem; color: #1D1D1D; font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: #C7A76C; box-shadow: 0 0 0 3px rgba(199,167,108,0.15);
}
.form-label { display: block; font-size: 0.75rem; font-weight: 600; color: #293E21; margin-bottom: 0.25rem; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236F6F6F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 0.1875rem 0.625rem; border-radius: var(--radius-pill); font-size: 0.6875rem; font-weight: 600; border: none; cursor: default; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-inactive { background: #fef2f2; color: #991b1b; }
.badge-gold { background: rgba(199,167,108,0.15); color: #92702a; }
.badge-green { background: rgba(41,62,33,0.1); color: #293E21; }

/* ── Stats ── */
.stat-card { background: #fff; border-radius: var(--radius-card); border: 1px solid #E8DDCF; padding: 1rem; transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: 0 8px 24px -6px rgba(41,62,33,0.1); }
.stat-card .stat-num { font-family: 'Playfair Display', serif; font-size: 1.375rem; font-weight: 700; color: #293E21; margin: 0; }
.stat-card .stat-label { font-size: 0.6875rem; color: #6F6F6F; margin: 0.25rem 0 0; }

/* ── Alerts ── */
.alert { padding: 0.625rem 1rem; border-radius: 10px; font-size: 0.8125rem; font-weight: 500; margin-bottom: 0.875rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Table ── */
.table-admin { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.8125rem; }
.table-admin thead th {
    font-family: 'Playfair Display', serif; font-size: 0.75rem; font-weight: 600;
    color: #293E21; text-align: left; padding: 0.625rem 0.875rem;
    border-bottom: 2px solid #E8DDCF; background: #FAF4EB; white-space: nowrap;
}
.table-admin tbody td { padding: 0.625rem 0.875rem; border-bottom: 1px solid #F0E8DC; vertical-align: middle; }
.table-admin tbody tr:hover td { background: rgba(248,239,227,0.5); }
.variant-table .form-input { padding: 0.375rem 0.5rem; font-size: 0.75rem; min-width: 0; }
.variant-table td { white-space: nowrap; }

/* ── Product image uploads ── */
.product-image-preview { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.product-image-preview-item {
    position: relative; width: 88px; height: 88px; border-radius: 12px;
    overflow: hidden; border: 2px solid #E8DDCF; background: #FAF4EB;
}
.product-image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.product-image-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(41,62,33,0.85); color: #C7A76C;
    font-size: 0.625rem; font-weight: 700; text-align: center; padding: 0.2rem;
}
.product-gallery-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-gallery-item {
    position: relative; width: 96px; height: 96px; border-radius: 12px;
    overflow: hidden; border: 2px solid #E8DDCF; cursor: pointer;
}
.product-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-remove {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.65));
    font-size: 0.625rem; color: #fff; padding-bottom: 0.35rem; gap: 0.25rem;
}
.product-gallery-remove input { width: 0.75rem; height: 0.75rem; accent-color: #C7A76C; }

/* ── Toolbar ── */
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.875rem; }
.admin-toolbar-form {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; flex: 1; min-width: 0;
    padding: 0.375rem; background: #FAF4EB; border-radius: 14px; border: 1px solid #E8DDCF;
}
.admin-toolbar-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    padding: 0.375rem; background: #FAF4EB; border-radius: 14px; border: 1px solid #E8DDCF;
}
.admin-toolbar-group {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.375rem;
    padding: 0.2rem; background: #fff; border-radius: 999px; border: 1px solid #E8DDCF;
}
.search-wrap { position: relative; flex: 1; min-width: 160px; max-width: 280px; }
.search-wrap .search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 0.875rem; height: 0.875rem; color: #6F6F6F; pointer-events: none; }
.search-wrap .form-input { padding-left: 2.25rem; border-radius: 999px; background: #fff; }
.form-select-auto { width: auto; min-width: 120px; max-width: 160px; border-radius: 999px; background: #fff; }

/* ── Stats grid ── */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Dashboard welcome & quick links ── */
.welcome-banner { padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.welcome-banner h3 {
    font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
    color: #293E21; margin: 0 0 0.375rem;
}
.welcome-banner p { font-size: 0.8125rem; color: #6F6F6F; margin: 0; }

.quick-links {
    display: grid; grid-template-columns: 1fr; gap: 0.875rem;
}
@media (min-width: 640px) { .quick-links { grid-template-columns: repeat(3, 1fr); } }

.quick-link-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
    background: #fff; border: 1px solid #E8DDCF; border-radius: var(--radius-card);
    padding: 1.25rem; text-decoration: none; color: inherit;
    box-shadow: 0 4px 16px -4px rgba(41,62,33,0.06);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.quick-link-card:hover {
    border-color: #C7A76C; box-shadow: 0 8px 24px -6px rgba(41,62,33,0.12);
    transform: translateY(-2px);
}
.quick-link-card svg { width: 1.75rem; height: 1.75rem; color: #C7A76C; }
.quick-link-card h4 {
    font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700;
    color: #293E21; margin: 0;
}
.quick-link-card p { font-size: 0.75rem; color: #6F6F6F; margin: 0; line-height: 1.4; }

.product-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid #E8DDCF; }
.product-thumb-placeholder {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, #FAF4EB, #E8DDCF);
    display: flex; align-items: center; justify-content: center;
}
.product-thumb-placeholder svg { width: 1.25rem; height: 1.25rem; color: #C7A76C; }

/* ── Auth / Login ── */
.auth-bg-pattern {
    background-color: #F8EFE3;
    background-image: radial-gradient(circle at 20% 80%, rgba(199,167,108,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(41,62,33,0.06) 0%, transparent 50%);
    min-height: 100vh;
}
.auth-wrap { width: 100%; max-width: 380px; margin: 0 auto; padding: 1rem; }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-logo-inner { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.auth-logo-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #293E21; display: flex; align-items: center; justify-content: center; }
.auth-logo-icon svg { width: 1.375rem; height: 1.375rem; color: #C7A76C; }
.auth-logo h1 { font-family: 'Playfair Display', serif; font-size: 1.375rem; font-weight: 700; color: #293E21; margin: 0; }
.auth-logo p { font-size: 0.6875rem; color: #6F6F6F; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.auth-card { background: #fff; border-radius: 20px; border: 1px solid #E8DDCF; box-shadow: 0 16px 40px -12px rgba(41,62,33,0.12); padding: 1.75rem; }
.auth-card h2 { font-family: 'Playfair Display', serif; font-size: 1.375rem; font-weight: 700; color: #293E21; margin: 0 0 0.25rem; }
.auth-card .auth-sub { font-size: 0.8125rem; color: #6F6F6F; margin: 0 0 1.25rem; }
.auth-form .field { margin-bottom: 1rem; }
.auth-form .field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-size: 0.8125rem; }
.auth-form .remember { display: flex; align-items: center; gap: 0.375rem; color: #6F6F6F; cursor: pointer; }
.auth-form .remember input { width: 0.875rem; height: 0.875rem; }
.auth-form .forgot { color: #C7A76C; text-decoration: none; font-weight: 500; }
.auth-form .forgot:hover { color: #b59458; }
.auth-form .btn-primary { width: 100%; padding: 0.625rem; font-size: 0.875rem; }
.auth-footer { text-align: center; font-size: 0.6875rem; color: #6F6F6F; margin-top: 1.25rem; }

.category-thumb { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #E8DDCF; }
.category-thumb-placeholder {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #FAF4EB, #E8DDCF);
    display: flex; align-items: center; justify-content: center;
    color: #C7A76C; font-size: 0.875rem; font-weight: 600;
}

/* ── Category tree (hierarchical admin list) ── */
.category-tree-wrap { padding: 1rem 1.25rem !important; }
.category-tree-legend {
    font-size: 0.75rem; color: #6F6F6F; margin: 0 0 1rem;
    padding: 0.625rem 0.875rem; background: #FAF4EB; border-radius: 10px;
    border: 1px solid #E8DDCF;
}
.category-tree-list { display: flex; flex-direction: column; gap: 0.75rem; }
.category-tree-node { border-radius: 12px; overflow: hidden; }
.category-tree-depth-1 {
    border: 2px solid #293E21; background: #fff;
    box-shadow: 0 2px 8px rgba(41,62,33,0.06);
}
.category-tree-depth-2 { margin-left: 1.25rem; border-left: 3px solid #C7A76C; background: #FDFBF7; }
.category-tree-depth-3 { margin-left: 2.5rem; border-left: 3px solid #E8DDCF; background: #fff; }
.category-tree-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; flex-wrap: wrap;
}
.category-tree-depth-1 > .category-tree-row {
    background: linear-gradient(90deg, rgba(41,62,33,0.06), transparent);
    padding: 0.875rem 1rem;
}
.category-tree-toggle {
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid #E8DDCF;
    background: #fff; color: #293E21; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; padding: 0;
    transition: transform 0.2s, background 0.2s;
}
.category-tree-toggle:hover { background: #FAF4EB; }
.category-tree-toggle.is-collapsed { transform: rotate(-90deg); }
.category-tree-toggle-spacer { width: 28px; flex-shrink: 0; }
.category-tree-thumb { flex-shrink: 0; }
.category-tree-info { flex: 1; min-width: 180px; }
.category-tree-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.category-tree-name {
    margin: 0; font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: 0.9375rem; color: #293E21;
}
.category-tree-depth-1 .category-tree-name { font-size: 1.0625rem; }
.category-tree-level-badge { font-size: 0.625rem !important; }
.category-tree-count {
    font-size: 0.6875rem; color: #6F6F6F; background: #FAF4EB;
    padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid #E8DDCF;
}
.category-tree-desc {
    margin: 0.25rem 0 0; font-size: 0.6875rem; color: #6F6F6F;
    line-height: 1.4; max-width: 420px;
}
.category-tree-meta {
    display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0;
}
.category-tree-sort { font-size: 0.6875rem; color: #6F6F6F; white-space: nowrap; }
.category-tree-actions {
    display: flex; align-items: center; gap: 0.375rem; margin-left: auto; flex-shrink: 0;
}
.category-tree-add-btn { white-space: nowrap; }
.category-tree-children {
    padding: 0.375rem 0.75rem 0.75rem 0;
    display: flex; flex-direction: column; gap: 0.375rem;
}
.category-tree-children.collapsed { display: none; }
.category-tree-match > .category-tree-row {
    background: rgba(199,167,108,0.12) !important;
    box-shadow: inset 3px 0 0 #C7A76C;
}
@media (max-width: 768px) {
    .category-tree-depth-2 { margin-left: 0.75rem; }
    .category-tree-depth-3 { margin-left: 1.5rem; }
    .category-tree-meta, .category-tree-sort { display: none; }
}

/* ── Layout utilities ── */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; min-width: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.w-full { width: 100%; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-3 { margin-left: 0.75rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-10 { padding-left: 2.5rem; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.max-w-200 { max-width: 200px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.border-t { border-top: 1px solid #E8DDCF; }
.border-red-400 { border-color: #f87171 !important; }
.text-white { color: #fff; }
.text-red-500 { color: #ef4444; }
.text-\[\#293E21\] { color: #293E21; }
.text-\[\#6F6F6F\] { color: #6F6F6F; }
.text-\[\#C7A76C\] { color: #C7A76C; }
.text-\[\#E8DDCF\] { color: #E8DDCF; }
.text-\[10px\] { font-size: 10px; }
.bg-\[\#F8EFE3\] { background-color: #F8EFE3; }
.bg-\[\#293E21\] { background-color: #293E21; }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-red-50 { background-color: #fef2f2; }
.bg-\[\#C7A76C\]\/20 { background-color: rgba(199,167,108,0.2); }
.bg-\[\#C7A76C\]\/30 { background-color: rgba(199,167,108,0.3); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); border-width: 1px; border-style: solid; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.hidden { display: none; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.cursor-pointer { cursor: pointer; }
.transform { transform: translateX(var(--tx, 0)); }
.-translate-x-full { --tx: -100%; transform: translateX(-100%); }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.left-3 { left: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.hover\:bg-\[\#E8DDCF\]\/50:hover { background-color: rgba(232,221,207,0.5); }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:text-\[\#b59458\]:hover { color: #b59458; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .sm\:inline-flex { display: inline-flex; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:flex-row { flex-direction: row; }
}
@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:translate-x-0 { --tx: 0; transform: translateX(0) !important; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-center { align-items: center; }
}
@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
