@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@500;600;700&display=swap');

@font-face {
    font-family: 'Unikurd Goran';
    src: local('Unikurd Goran');
}

:root {
    --primary: #0E5F63;
    --brick: #B54438;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Unikurd Goran', 'Vazirmatn', sans-serif !important;
    transition: background-color 0.3s, color 0.3s;
    scroll-behavior: smooth;
}

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

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.ledger-bg {
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 22px 22px;
    color: rgba(15, 23, 42, 0.05);
}
.dark .ledger-bg {
    color: rgba(255, 255, 255, 0.045);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #2d4b49;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.glass-header {
    background: rgba(245, 247, 245, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 95, 99, 0.08);
}
.dark .glass-header {
    background: rgba(10, 20, 20, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(155deg, var(--primary), #0A3F42);
    color: #fff;
    box-shadow: 0 6px 16px rgba(14, 95, 99, 0.35);
    flex-shrink: 0;
}

.section-eyebrow {
    letter-spacing: -0.01em;
}

.label-card {
    position: relative;
}
.punch-row {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 12px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    pointer-events: none;
}
.punch-row span {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: #F5F7F5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
.dark .punch-row span {
    background: #0A1414;
}

.price-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    color: var(--primary);
    background: rgba(14, 95, 99, 0.08);
    border-inline-start: 2px dashed rgba(14, 95, 99, 0.4);
    padding: 3px 10px 3px 8px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
.dark .price-chip {
    color: #5FCBCF;
    background: rgba(95, 203, 207, 0.12);
    border-inline-start-color: rgba(95, 203, 207, 0.45);
}
.price-chip-lg {
    font-size: 1.15rem;
    padding: 5px 14px 5px 10px;
}

.cat-chip {
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.cat-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 95, 99, 0.35);
}

.shelf-list li {
    position: relative;
}

.product-card, .order-card {
    position: relative;
}

.ledger-table thead th {
    font-family: 'IBM Plex Mono', monospace;
}
.ledger-table tbody td {
    vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Horizontal Scrollbar Hiding */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
