/* 
 * ATRIUM Feinkost - Utility System
 * Diese Utilities decken die häufigsten Inline-Styles ab.
 */

/* =========================================
   Flexbox & Layout
   ========================================= */
.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.d-inline-block {
    display: inline-block;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.flex-1 {
    flex: 1 !important;
}

.flex-none {
    flex: none !important;
}

/* Abstände (Gaps) */
.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 0.75rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-5 {
    gap: 1.25rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

.gap-16 {
    gap: 4rem !important;
}

/* =========================================
   Spacing (Margin / Padding)
   ========================================= */
.m-0 {
    margin: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* rem basierend (1 = 0.25rem, 2 = 0.5rem, 3 = 0.75rem, 4 = 1rem, 6 = 1.5rem, 8 = 2rem, 12 = 3rem, 16 = 4rem) */
.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

.mt-16 {
    margin-top: 4rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mb-12 {
    margin-bottom: 3rem !important;
}

.mr-3 {
    margin-right: 0.75rem !important;
}

.ml-0 {
    margin-left: 0 !important;
}

/* Padding */
.p-0 {
    padding: 0 !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-4 {
    padding: 1rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

/* =========================================
   Typography
   ========================================= */
.font-italic {
    font-style: italic !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.font-bold {
    font-weight: bold !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-decoration-underline {
    text-decoration: underline !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* Spezifische Farben aus dem System */
.text-muted {
    color: #A8A29E !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-dark {
    color: #1C1917 !important;
}

.text-gray {
    color: #78716C !important;
}

.text-gray-light {
    color: #57534E !important;
}

.text-sm {
    font-size: 0.85rem !important;
}

.text-base {
    font-size: 1rem !important;
}

.text-lg {
    font-size: 1.1rem !important;
}

.lh-tight {
    line-height: 1.2 !important;
}

.lh-base {
    line-height: 1.6 !important;
}

.lh-normal {
    line-height: normal !important;
}

.letter-spacing-wide {
    letter-spacing: 0.05em !important;
}

.letter-spacing-wider {
    letter-spacing: 0.1em !important;
}

/* =========================================
   Borders & Backgrounds
   ========================================= */
.border-0 {
    border: 0 !important;
}

.rounded-sm {
    border-radius: 4px !important;
}

.rounded-md {
    border-radius: 8px !important;
}

.rounded-full {
    border-radius: 50% !important;
}

.bg-light {
    background: #fafaf9 !important;
}

.bg-white {
    background: #fff !important;
}

.border-gray {
    border: 1px solid #e7e5e4 !important;
}

.border-gray-light {
    border: 1px solid #e5e7eb !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-help {
    cursor: help !important;
}

/* =========================================
   Spezifische Komponentenklassen (frühere Inline-Styles gesammelt)
   ========================================= */

/* Hero / Header Container */
.product-header-container {
    margin: 0 auto;
    max-width: 800px;
}

/* Back Button */
.back-btn-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title-large {
    margin-bottom: 0.5rem;
    font-size: 2.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.traffic-name {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #57534E;
    font-family: var(--font-body);
}

.allergen-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-top: 9px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Dashboard Spezifisch */
.dashboard-search-input {
    height: 48px;
    padding: 0 20px;
    border: 2px solid #d6d3d1;
    border-radius: 30px;
    font-size: 1rem;
    width: 250px;
    outline: none;
    box-sizing: border-box;
}

.status-dot-base {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: help;
}

.product-image-preview {
    max-height: 150px;
    border-radius: 4px;
    display: block;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive Grid Mobile (Product Detail) */
.grid-2-mobile-spacing {
    gap: 4rem;
}

.cross-contam-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #FAFAF9;
    border-radius: 8px;
    border: 1px solid #E7E5E4;
}

.product-footer-meta {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F5F5F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A8A29E;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}