// Minimal Bootstrap-compatible utilities for eshop/CMS inner pages (no Bootstrap dependency).

.cms-main {
    padding-top: 5rem;
    min-height: 60vh;
}

.cms-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.cms-header {
    text-align: left;
    margin-bottom: 2rem;
}

.cms-body {
    color: var(--text-secondary, #d1d5db);
    line-height: 1.7;
}

.cms-body img {
    max-width: 100%;
    height: auto;
}

.cms-injected-body p {
    margin-bottom: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.row > [class*='col'] {
    padding: 0 0.75rem;
    width: 100%;
}

.g-3 > [class*='col'] { margin-bottom: 1rem; }
.g-4 > [class*='col'] { margin-bottom: 1.5rem; }

.col { flex: 1 0 0; }
.col-12 { width: 100%; }

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-5 { width: 41.666%; }
    .col-md-6 { width: 50%; }
    .col-md-9 { width: 75%; }
    .row-cols-md-3 > .col { width: 33.333%; }
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }

.d-none { display: none !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column; }
.justify-content-end { justify-content: flex-end; }
.align-middle { vertical-align: middle; }

.text-muted { color: var(--text-muted, #6b7280); }
.text-success { color: #22c55e; }
.text-dark { color: var(--text-primary, #fff); }
.text-end { text-align: right; }
.text-center { text-align: center; }
.text-decoration-none { text-decoration: none; }
.text-decoration-line-through { text-decoration: line-through; }
.text-uppercase { text-transform: uppercase; }

.fw-bold { font-weight: 700; }
.fs-3 { font-size: 1.75rem; }
.h3 { font-size: 1.5rem; font-weight: 600; }
.h5 { font-size: 1.125rem; font-weight: 600; }
.h6 { font-size: 1rem; font-weight: 600; }
.small { font-size: 0.875rem; }

.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: 0.5rem; }
.border { border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1)); }
.w-100 { width: 100%; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--text-muted, #6b7280);
}

.breadcrumb-item a {
    color: var(--accent-400, #a78bfa);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-tertiary, #9ca3af);
}

.card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 0.75rem;
    overflow: hidden;
}

.card-body {
    padding: 1rem;
}

.card-img-top {
    width: 100%;
    display: block;
}

.h-100 { height: 100%; }

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.bg-danger {
    background: #dc2626;
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-600, #7c3aed), var(--accent-secondary-darker, #7e22ce));
    color: #fff;
}

.btn-success:hover {
    filter: brightness(1.08);
}

.btn-outline-secondary {
    background: transparent;
    border-color: var(--border-subtle, rgba(255, 255, 255, 0.2));
    color: var(--text-secondary, #d1d5db);
}

.btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
    background: var(--input-bg, rgba(255, 255, 255, 0.05));
    color: var(--text-primary, #fff);
}

.input-group {
    display: flex;
}

.input-group .form-control {
    border-radius: 0;
}

.input-group .btn {
    border-radius: 0;
}

.input-group-sm .btn,
.input-group-sm .form-control {
    padding: 0.35rem 0.5rem;
    font-size: 0.875rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.table-responsive {
    overflow-x: auto;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}
