/* ═══════════════════════════════════════════════════════════════
   Sahab Public Storefront v4 — Premium mobile-first
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

:root {
    --oc-bg: #f5f5f7;
    --oc-surface: #ffffff;
    --oc-text: #1d1d1f;
    --oc-text-2: #6e6e73;
    --oc-muted: #86868b;
    --oc-border: rgba(0, 0, 0, 0.06);
    --oc-accent: #0071e3;
    --oc-accent-2: #0077ed;
    --oc-accent-soft: rgba(0, 113, 227, 0.1);
    --oc-success: #34c759;
    --oc-success-bg: rgba(52, 199, 89, 0.12);
    --oc-danger: #ff3b30;
    --oc-danger-bg: rgba(255, 59, 48, 0.1);
    --oc-wa: #25d366;
    --oc-ig: #e1306c;
    --oc-tg: #229ed9;
    --oc-radius: 12px;
    --oc-radius-lg: 16px;
    --oc-radius-xl: 20px;
    --oc-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --oc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --oc-glass: rgba(255, 255, 255, 0.72);

    /* Typography — Yekan Bakh (body) + Morabba (display) */
    --oc-font-body: 'Yekan Bakh', 'Peyda', 'Dana', Tahoma, system-ui, sans-serif;
    --oc-font-display: 'Morabba', 'Dana', 'Yekan Bakh', Tahoma, sans-serif;
    --oc-font: var(--oc-font-body);
    --oc-fw-regular: 400;
    --oc-fw-medium: 500;
    --oc-fw-semibold: 600;
    --oc-fw-bold: 700;
    --oc-fw-heavy: 800;
    --oc-lh-title: 1.5;
    --oc-lh-body: 1.8;
    --oc-ls-body: 0.01em;
    --oc-ls-title: -0.02em;
    --oc-ls-price: 0;
    --oc-fs-hero: clamp(2rem, 5vw, 2.5rem);
    --oc-fs-section: clamp(1.25rem, 2.5vw, 1.5rem);
    --oc-fs-tab: 0.9375rem;
    --oc-fs-product-title: 1.0625rem;
    --oc-fs-price: 1.0625rem;
    --oc-fs-body: 0.9375rem;
    --oc-fs-caption: 0.8125rem;
    --oc-fs-btn: 0.9375rem;
    --oc-fs-foot: 0.8125rem;

    --oc-nav-h: 48px;
    --oc-container: min(1200px, 100% - 32px);
    --oc-safe-b: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body.oc-store {
    margin: 0;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-body);
    font-weight: var(--oc-fw-regular);
    line-height: var(--oc-lh-body);
    letter-spacing: var(--oc-ls-body);
    color: var(--oc-text);
    background: var(--oc-bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.oc-type-display {
    font-family: var(--oc-font-display);
    letter-spacing: var(--oc-ls-title);
    line-height: var(--oc-lh-title);
}

body.oc-store button,
body.oc-store input,
body.oc-store textarea,
body.oc-store select {
    font-family: var(--oc-font-body);
}

body.oc-sheet-open { overflow: hidden; }

.oc-app {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(24px + var(--oc-safe-b));
}

/* ─── Hero (compact) ─── */
.oc-top { position: relative; flex-shrink: 0; }

.oc-top__cover-wrap {
    position: relative;
    height: clamp(120px, 22vw, 168px);
    overflow: hidden;
}

.oc-top__cover {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat #1c1c1e;
    transform: scale(1.03);
}

.oc-top__cover.is-fallback {
    background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 40%, #0071e3 120%);
}

.oc-top__gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%),
        linear-gradient(0deg, var(--oc-bg) 0%, transparent 50%);
}

.oc-top__lang {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
    font-family: var(--oc-font-body);
    font-size: 0.72rem;
    font-weight: var(--oc-fw-semibold);
    letter-spacing: 0.02em;
    line-height: 1;
}

.oc-top__lang-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.oc-top__lang-link:hover {
    color: #fff;
}

.oc-top__lang-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.oc-top__lang-sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    user-select: none;
}

.oc-top__status {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    max-width: max-content;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 10px;
    border: none;
    border-radius: 999px;
    font-family: var(--oc-font-body);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.15s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
}

.oc-top__status:active { transform: scale(0.97); }

.oc-top__status--on {
    background: rgba(52, 199, 89, 0.22);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 4px 20px rgba(52, 199, 89, 0.35);
}

.oc-top__status--off {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}

.oc-top__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.oc-top__status--on .oc-top__status-dot {
    animation: oc-pulse 2s ease infinite;
}

@keyframes oc-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); }
}

.oc-top__status-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    line-height: 1.25;
}

.oc-top__status-text strong { font-size: var(--oc-fs-caption); font-weight: var(--oc-fw-semibold); }
.oc-top__status-text small { font-size: 0.75rem; font-weight: var(--oc-fw-medium); opacity: 0.9; }
.oc-top__status svg { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; transform: scaleX(-1); }

.oc-top__inner {
    max-width: var(--oc-container);
    margin: -28px auto 0;
    padding: 0 16px 8px;
    position: relative;
    z-index: 3;
}

.oc-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--oc-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--oc-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--oc-shadow-lg);
}

.oc-profile__logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: var(--oc-surface);
}

.oc-profile__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oc-profile__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--oc-accent), #5ac8fa);
    color: #fff;
    font-family: var(--oc-font-display);
    font-size: 1.375rem;
    font-weight: var(--oc-fw-heavy);
}

.oc-profile__meta { flex: 1; min-width: 0; }

.oc-profile__name {
    margin: 0 0 4px;
    font-family: var(--oc-font-display);
    font-size: var(--oc-fs-hero);
    font-weight: var(--oc-fw-heavy);
    letter-spacing: var(--oc-ls-title);
    line-height: var(--oc-lh-title);
    color: var(--oc-text);
}

.oc-profile__tagline {
    margin: 0;
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-regular);
    color: var(--oc-text-2);
    line-height: var(--oc-lh-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Nav tabs (slim) ─── */
.oc-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 245, 247, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--oc-border);
}

.oc-nav__inner {
    display: flex;
    max-width: var(--oc-container);
    margin: 0 auto;
    padding: 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
}

.oc-nav__inner::-webkit-scrollbar { display: none; }

.oc-nav__tab {
    flex: 0 0 auto;
    padding: 14px 14px 12px;
    border: none;
    background: transparent;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-tab);
    font-weight: var(--oc-fw-medium);
    color: var(--oc-muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.oc-nav__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 14px;
    left: 14px;
    height: 2px;
    background: var(--oc-accent);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.oc-nav__tab.is-active {
    color: var(--oc-text);
    font-weight: var(--oc-fw-bold);
}

.oc-nav__tab.is-active::after { transform: scaleX(1); }

/* ─── Main ─── */
.oc-main {
    flex: 1;
    width: 100%;
    max-width: var(--oc-container);
    margin: 0 auto;
    padding: 16px 16px 32px;
}

.oc-panel { display: none; animation: oc-fade-in 0.28s ease; }
.oc-panel.is-active { display: block; }

@keyframes oc-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.oc-block { margin-bottom: 24px; }
.oc-block__title {
    margin: 0 0 12px;
    font-family: var(--oc-font-display);
    font-size: var(--oc-fs-section);
    font-weight: var(--oc-fw-bold);
    letter-spacing: var(--oc-ls-title);
    line-height: var(--oc-lh-title);
    color: var(--oc-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.oc-block__title svg { width: 20px; height: 20px; color: var(--oc-accent); }

.oc-glass {
    padding: 16px 18px;
    background: var(--oc-surface);
    border-radius: var(--oc-radius-lg);
    border: 1px solid var(--oc-border);
    box-shadow: var(--oc-shadow);
}

.oc-prose {
    margin: 0;
    font-size: var(--oc-fs-body);
    font-weight: var(--oc-fw-regular);
    line-height: var(--oc-lh-body);
    letter-spacing: var(--oc-ls-body);
    color: var(--oc-text-2);
}

.oc-muted {
    color: var(--oc-muted);
    font-size: var(--oc-fs-body);
    font-weight: var(--oc-fw-regular);
    line-height: var(--oc-lh-body);
}

/* Shop head */
.oc-shop-head {
    position: sticky;
    top: var(--oc-nav-h);
    z-index: 50;
    margin: -4px -4px 16px;
    padding: 8px 4px 12px;
    background: linear-gradient(180deg, var(--oc-bg) 70%, transparent);
}

.oc-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--oc-surface);
    border-radius: var(--oc-radius-lg);
    border: 1px solid var(--oc-border);
    box-shadow: var(--oc-shadow);
    margin-bottom: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.oc-search:focus-within {
    border-color: var(--oc-accent);
    box-shadow: 0 0 0 3px var(--oc-accent-soft);
}

.oc-search svg { width: 20px; height: 20px; color: var(--oc-muted); flex-shrink: 0; }
.oc-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: var(--oc-fs-body);
    outline: none;
    color: var(--oc-text);
}

.oc-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.oc-chips::-webkit-scrollbar { display: none; }

.oc-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--oc-border);
    background: var(--oc-surface);
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-medium);
    color: var(--oc-text-2);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.oc-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.oc-chip.is-active {
    background: var(--oc-text);
    color: #fff;
    border-color: var(--oc-text);
}

/* ─── Product grid (premium cards) ─── */
.oc-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .oc-products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (min-width: 900px) {
    .oc-products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (min-width: 1200px) {
    .oc-products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.oc-product {
    --oc-card-r: 22px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--oc-card-r);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    animation: oc-card-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes oc-card-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
    .oc-product:hover {
        transform: translateY(-4px);
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.04),
            0 16px 40px rgba(0, 0, 0, 0.1);
    }
    .oc-product:hover .oc-product__media img,
    .oc-product:hover .oc-product__ph-fill {
        transform: scale(1.04);
    }
}

/* Visual / image area — square 1:1 (product photos) */
.oc-product__visual {
    position: relative;
    padding: 12px 12px 0;
}

.oc-product__media-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f5f7 0%, #ebebed 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    isolation: isolate;
}

@supports (aspect-ratio: 1 / 1) {
    .oc-product__media-frame {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 1 / 1;
    }
}

.oc-product__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.oc-product__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.oc-product__ph-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.oc-product__ph-icon {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aeaeb2;
}

.oc-product__ph-icon svg {
    width: 44px;
    height: 44px;
    opacity: 0.55;
}

.oc-product__badges {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    max-width: calc(100% - 36px);
}

.oc-product__badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-family: var(--oc-font-body);
    font-size: 0.75rem;
    font-weight: var(--oc-fw-semibold);
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.oc-product__badge--in {
    background: rgba(52, 199, 89, 0.92);
    color: #fff;
}

.oc-product__badge--out {
    background: rgba(255, 59, 48, 0.9);
    color: #fff;
}

/* Content */
.oc-product__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 0;
    min-height: 0;
}

.oc-product__title {
    margin: 0;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-product-title);
    font-weight: var(--oc-fw-bold);
    line-height: var(--oc-lh-title);
    letter-spacing: var(--oc-ls-title);
    color: var(--oc-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oc-product__desc {
    margin: 0;
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-regular);
    line-height: var(--oc-lh-body);
    letter-spacing: var(--oc-ls-body);
    color: var(--oc-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oc-product__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
    padding-top: 4px;
}

.oc-product__price-value {
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-price);
    font-weight: var(--oc-fw-bold);
    letter-spacing: var(--oc-ls-price);
    line-height: var(--oc-lh-title);
    color: var(--oc-text);
    font-variant-numeric: tabular-nums;
}

.oc-product__price-unit {
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-medium);
    color: var(--oc-muted);
}

/* Footer CTA */
.oc-product__foot {
    padding: 12px 14px 14px;
    margin-top: auto;
}

.oc-product__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-btn);
    font-weight: var(--oc-fw-semibold);
    letter-spacing: var(--oc-ls-body);
    line-height: 1.4;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #3b9eff 0%, var(--oc-accent) 55%, var(--oc-accent-2) 100%);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.28);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.oc-product__cta-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.9;
    transform: scaleX(-1);
}

.oc-product__cta > svg:first-of-type {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (hover: hover) {
    .oc-product__cta:hover {
        filter: brightness(1.06);
        box-shadow: 0 6px 22px rgba(0, 113, 227, 0.38);
        transform: translateY(-1px);
    }
}

.oc-product__cta:active {
    transform: scale(0.98);
}

.oc-product__cta--wa {
    background: linear-gradient(135deg, #5ae890 0%, var(--oc-wa) 55%, #1ebe57 100%);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.32);
}

.oc-product__cta--call {
    background: linear-gradient(135deg, #5ac8fa 0%, var(--oc-accent) 100%);
}

/* Mobile enhancements */
@media (max-width: 639px) {
    :root {
        --oc-fs-hero: clamp(1.875rem, 7vw, 2.375rem);
        --oc-fs-section: 1.375rem;
        --oc-fs-tab: 1rem;
        --oc-fs-product-title: 1.125rem;
        --oc-fs-price: 1.125rem;
        --oc-fs-body: 1rem;
        --oc-fs-caption: 0.875rem;
        --oc-fs-btn: 0.9375rem;
        --oc-fs-foot: 0.875rem;
        --oc-lh-body: 1.85;
    }

    .oc-products { gap: 20px; }
    .oc-product { --oc-card-r: 24px; }
    .oc-product__visual { padding: 14px 14px 0; }
    .oc-product__content { padding: 16px 18px 0; }
    .oc-product__foot { padding: 14px 16px 16px; }
    .oc-product__cta { min-height: 48px; font-size: var(--oc-fs-btn); font-weight: var(--oc-fw-bold); }
}

/* Skeleton */
.oc-product--skel,
.oc-products--skel .oc-product {
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.oc-product--skel .oc-product__visual,
.oc-products--skel .oc-product__visual {
    padding: 12px 12px 0;
}

.oc-skel-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: linear-gradient(90deg, #ececf0 0%, #f5f5f7 45%, #ececf0 90%);
    background-size: 200% 100%;
    animation: oc-shimmer 1.4s ease-in-out infinite;
}

.oc-product--skel .oc-product__content,
.oc-products--skel .oc-product__content {
    padding: 14px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oc-skel-line {
    height: 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ececf0 0%, #f5f5f7 45%, #ececf0 90%);
    background-size: 200% 100%;
    animation: oc-shimmer 1.4s ease-in-out infinite;
}

.oc-skel-line--sm { width: 55%; height: 11px; }
.oc-skel-line--price { width: 40%; height: 16px; margin-top: 4px; }

.oc-product--skel .oc-product__foot,
.oc-products--skel .oc-product__foot {
    padding: 12px 14px 14px;
}

.oc-skel-btn {
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ececf0 0%, #f5f5f7 45%, #ececf0 90%);
    background-size: 200% 100%;
    animation: oc-shimmer 1.4s ease-in-out infinite;
}

@keyframes oc-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty / error state */
.oc-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    background: var(--oc-surface);
    border-radius: var(--oc-radius-xl);
    border: 1px solid var(--oc-border);
    box-shadow: var(--oc-shadow);
}

.oc-state__art {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    color: var(--oc-muted);
}

.oc-state__title {
    margin: 0 0 8px;
    font-family: var(--oc-font-display);
    font-size: var(--oc-fs-section);
    font-weight: var(--oc-fw-bold);
    letter-spacing: var(--oc-ls-title);
    line-height: var(--oc-lh-title);
    color: var(--oc-text);
}

.oc-state__text {
    margin: 0 0 20px;
    font-size: var(--oc-fs-body);
    line-height: var(--oc-lh-body);
    color: var(--oc-text-2);
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.oc-state__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-btn);
    font-weight: var(--oc-fw-semibold);
    letter-spacing: var(--oc-ls-body);
    color: #fff;
    background: var(--oc-accent);
    cursor: pointer;
    transition: transform 0.15s;
}

.oc-state__retry:active { transform: scale(0.97); }

.oc-sentinel { height: 1px; }

/* About: social + map */
.oc-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.oc-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-semibold);
    color: var(--oc-text);
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    transition: transform 0.15s, box-shadow 0.2s;
}

.oc-social-pill__icon svg { width: 20px; height: 20px; display: block; }
.oc-social-pill--ig { color: var(--oc-ig); box-shadow: 0 0 0 1px rgba(225, 48, 108, 0.15); }
.oc-social-pill--tg { color: var(--oc-tg); }
.oc-social-pill--web { color: var(--oc-accent); }

@media (hover: hover) {
    .oc-social-pill:hover { transform: translateY(-2px); box-shadow: var(--oc-shadow); }
}

.oc-map-card {
    border-radius: var(--oc-radius-xl);
    overflow: hidden;
    border: 1px solid var(--oc-border);
    box-shadow: var(--oc-shadow-lg);
    margin-bottom: 14px;
    background: var(--oc-surface);
}

.oc-map-card__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 24px;
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-medium);
    color: var(--oc-muted);
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.oc-map-card__map {
    height: 220px;
    width: 100%;
    background: #e8e8ed;
    z-index: 1;
}

@media (min-width: 640px) {
    .oc-map-card__map { height: 280px; }
}

.oc-map-card__actions {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oc-map-card__route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    font-family: var(--oc-font-body);
    font-size: var(--oc-fs-btn);
    font-weight: var(--oc-fw-semibold);
    letter-spacing: var(--oc-ls-body);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.oc-map-card__route--primary {
    background: linear-gradient(180deg, #3b9eff 0%, var(--oc-accent) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.3);
}

.oc-map-card__route:active { transform: scale(0.98); }
.oc-map-card__route svg { width: 20px; height: 20px; }

.oc-map-card__address {
    margin: 0;
    font-size: var(--oc-fs-caption);
    line-height: var(--oc-lh-body);
    color: var(--oc-text-2);
    text-align: center;
}

.oc-address, .oc-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font-size: var(--oc-fs-body);
    color: var(--oc-text-2);
    text-decoration: none;
}

.oc-address svg, .oc-contact-line svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--oc-accent); margin-top: 2px; }

/* Hours timeline */
.oc-hours-now {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--oc-radius-lg);
    margin-bottom: 16px;
    font-size: var(--oc-fs-body);
}

.oc-hours-now--on { background: var(--oc-success-bg); color: #248a3d; }
.oc-hours-now--off { background: var(--oc-danger-bg); color: #c9342c; }
.oc-hours-now--compact { margin: 0 20px 12px; }

.oc-hours-now__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.oc-hours-now strong {
    display: block;
    font-size: var(--oc-fs-body);
    font-weight: var(--oc-fw-semibold);
}

.oc-hours-now span {
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-regular);
    opacity: 0.9;
}

.oc-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oc-timeline__item {
    display: flex;
    gap: 14px;
    padding: 0 0 0 4px;
    position: relative;
}

.oc-timeline__rail {
    width: 2px;
    margin-top: 6px;
    margin-bottom: -6px;
    background: var(--oc-border);
    border-radius: 2px;
    flex-shrink: 0;
    align-self: stretch;
    min-height: 44px;
}

.oc-timeline__item:last-child .oc-timeline__rail { min-height: 24px; }

.oc-timeline__item.is-today .oc-timeline__rail { background: var(--oc-accent); }

.oc-timeline__body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--oc-surface);
    border-radius: var(--oc-radius);
    border: 1px solid var(--oc-border);
}

.oc-timeline__item.is-today .oc-timeline__body {
    border-color: rgba(0, 113, 227, 0.25);
    box-shadow: 0 0 0 1px var(--oc-accent-soft);
}

.oc-timeline__day {
    font-weight: var(--oc-fw-semibold);
    font-size: var(--oc-fs-body);
    color: var(--oc-text);
}

.oc-timeline__day em {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: var(--oc-fw-bold);
    color: #fff;
    background: var(--oc-accent);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}

.oc-timeline__time {
    font-weight: var(--oc-fw-medium);
    font-size: var(--oc-fs-caption);
    color: var(--oc-text-2);
    white-space: nowrap;
}
.oc-timeline__item.is-closed .oc-timeline__time { color: var(--oc-muted); }

.oc-timeline--modal { padding: 0 20px 24px; max-height: 50vh; overflow-y: auto; }

/* Social grid tab */
.oc-social-grid { display: flex; flex-direction: column; gap: 10px; }

.oc-social-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--oc-surface);
    border-radius: var(--oc-radius-lg);
    border: 1px solid var(--oc-border);
    text-decoration: none;
    color: var(--oc-text);
    transition: transform 0.15s, box-shadow 0.2s;
}

.oc-social-tile__icon svg { width: 28px; height: 28px; }
.oc-social-tile--ig .oc-social-tile__icon { color: var(--oc-ig); }
.oc-social-tile--tg .oc-social-tile__icon { color: var(--oc-tg); }
.oc-social-tile--web .oc-social-tile__icon { color: var(--oc-accent); }

.oc-social-tile__label {
    flex: 1;
    font-weight: var(--oc-fw-semibold);
    font-size: var(--oc-fs-body);
}
.oc-social-tile__go svg { width: 20px; height: 20px; color: var(--oc-muted); transform: scaleX(-1); }

@media (hover: hover) {
    .oc-social-tile:hover { transform: translateX(-4px); box-shadow: var(--oc-shadow); }
}

/* FABs */
.oc-fabs {
    position: fixed;
    left: max(16px, env(safe-area-inset-left));
    bottom: calc(88px + var(--oc-safe-b));
    z-index: 90;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.oc-fabs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.oc-fabs__btn svg { width: 22px; height: 22px; }
.oc-fabs__btn:active { transform: scale(0.92); }
.oc-fabs__btn--call { background: linear-gradient(180deg, #5ac8fa, var(--oc-accent)); }
.oc-fabs__btn--wa { background: linear-gradient(180deg, #5ae890, var(--oc-wa)); }
.oc-fabs__btn--map { background: var(--oc-surface); color: var(--oc-text); box-shadow: 0 4px 20px rgba(0,0,0,0.12); border: 1px solid var(--oc-border); }

@media (hover: hover) {
    .oc-fabs__btn:hover { transform: scale(1.06); }
}

/* Footer */
.oc-foot {
    margin-top: auto;
    background: linear-gradient(180deg, #1d1d1f 0%, #0a0a0f 100%);
    color: #a1a1a6;
    padding: 32px 20px calc(28px + var(--oc-safe-b));
}

.oc-foot__inner {
    max-width: var(--oc-container);
    margin: 0 auto;
    text-align: center;
}

.oc-foot__logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 8px;
}

.oc-foot__name {
    margin: 0 0 16px;
    font-family: var(--oc-font-display);
    font-size: var(--oc-fs-body);
    font-weight: var(--oc-fw-bold);
    letter-spacing: var(--oc-ls-title);
    color: #f5f5f7;
}

.oc-foot__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 auto 20px;
    max-width: 120px;
}

.oc-foot__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.oc-foot__social-btn {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #e8e8ed;
    transition: background 0.2s, transform 0.15s;
}

.oc-foot__social-btn svg { width: 20px; height: 20px; }
.oc-foot__social-btn--ig:hover { background: rgba(225, 48, 108, 0.25); color: #f472b6; }
.oc-foot__social-btn--tg:hover { background: rgba(34, 158, 217, 0.25); color: #7dd3fc; }
.oc-foot__social-btn--web:hover { background: rgba(0, 113, 227, 0.25); color: #93c5fd; }

.oc-foot__powered {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: #86868b;
    font-size: var(--oc-fs-foot);
    font-weight: var(--oc-fw-regular);
    margin-bottom: 16px;
    transition: background 0.2s;
}

.oc-foot__powered strong { color: #f5f5f7; font-weight: var(--oc-fw-semibold); }
.oc-foot__powered img { border-radius: 6px; }

.oc-foot__copy {
    margin: 0;
    font-size: var(--oc-fs-caption);
    font-weight: var(--oc-fw-regular);
    line-height: var(--oc-lh-body);
    color: #636366;
}

/* Bottom sheets */
.oc-sheet {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.oc-sheet[hidden] { display: none !important; }

.oc-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.oc-sheet__panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    background: var(--oc-surface);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.2);
    animation: oc-sheet-up 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes oc-sheet-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.oc-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--oc-border);
    flex-shrink: 0;
}

.oc-sheet__head h2 {
    margin: 0;
    font-family: var(--oc-font-display);
    font-size: var(--oc-fs-section);
    font-weight: var(--oc-fw-bold);
    letter-spacing: var(--oc-ls-title);
    line-height: var(--oc-lh-title);
}

.oc-sheet__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f0f0f2;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--oc-muted);
}

.oc-sheet__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px calc(24px + var(--oc-safe-b));
}

.oc-sheet__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--oc-radius-lg);
    text-decoration: none;
    font-family: var(--oc-font-body);
    font-weight: var(--oc-fw-semibold);
    font-size: var(--oc-fs-body);
    color: var(--oc-text);
    background: #f5f5f7;
    transition: transform 0.15s;
}

.oc-sheet__link span:first-child {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--oc-font-display);
    font-weight: var(--oc-fw-heavy);
    color: #fff;
}

.oc-sheet__link--google span:first-child { background: #4285f4; }
.oc-sheet__link--waze span:first-child { background: #33ccff; color: #003; }
.oc-sheet__link--neshan span:first-child { background: #e53935; }

.leaflet-container { font-family: inherit; }
