/* ==========================================================================
   Linkate — أساس القوالب الخمسة (vcard43 … vcard47)

   قاعدة واحدة تحكم كل الأساس: لا لون صريح في هذا الملف إطلاقاً.
   كل لون يأتي من رمز، وكل رمز يأتي من إعدادات العميل. فإن اختار العميل
   لوناً لا نحبّه، ظهر لونه هو — وهذا هو المقصود.

   الملفات الخمسة المرافقة تعلو على هذا الملف ولا تعيد كتابته.

   كل ما في هذا الملف داخل طبقة `lk-base`. السبب عملي لا تنظيمي:
   CSS الذي يكتبه العميل في شاشة التحرير يبقى بلا طبقة، وأي قاعدة بلا
   طبقة تعلو على كل قاعدة مُطبَّقة مهما كانت انتقائيتها. فيكفي العميل أن
   يكتب `.lk-service { ... }` ليتجاوز محدّداً أطول منه بكثير — بلا
   !important وبلا حيَل.
   ========================================================================== */

@layer lk-base {

/* ---------- إعادة ضبط ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body.lk-body {
    margin: 0;
    padding: 0;
    font-family: var(--lk-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--lk-body);
    background: var(--lk-page);
    -webkit-font-smoothing: antialiased;
}

.lk-body img,
.lk-body video,
.lk-body iframe { max-width: 100%; }

.lk-body h1, .lk-body h2, .lk-body h3, .lk-body h4 {
    margin: 0;
    color: var(--lk-heading);
    font-weight: 650;
    line-height: 1.25;
}

.lk-body p { margin: 0; }
.lk-body ul { margin: 0; padding: 0; list-style: none; }

/* `:where()` تُصفّر الانتقائية عمداً.
   القاعدة السابقة كانت `.lk-body a` وانتقائيتها (0,1,1) — أعلى من
   `.lk-btn--solid` (0,1,0). فكان كل زرّ مصمت يرث لون النصّ العادي بدل
   `--lk-on-accent`، أي نصّ رمادي على خلفية بلون العميل. */
.lk-body :where(a) { color: inherit; text-decoration: none; }
.lk-body :where(a:hover) { text-decoration: none; }

.lk-body :focus-visible {
    outline: 2px solid var(--lk-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- الهيكل ---------- */
.lk-shell {
    max-width: 520px;
    margin: 0 auto;
    background: var(--lk-page);
    min-height: 100vh;
    overflow-x: clip;
}

.lk-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px 20px 8px;
}

.lk-section { margin: 0; }

.lk-section__title {
    font-size: 17px;
    letter-spacing: -.01em;
    margin-bottom: 14px;
}

.lk-section__foot { margin-top: 14px; }

/* ---------- الترويسة ---------- */
.lk-hero { position: relative; }

/*  نسبة الغلاف متغيّر لا رقم ثابت: كل درجة تضبط افتراضها، والسكربت
    يستبدله بنسبة صورة العميل الحقيقية إن كانت ضمن الحدود المسموحة.
    السبب: نسبة ثابتة تعني أن غلافاً عريضاً يُقصّ من أعلاه وأسفله وغلافاً
    مربّعاً يُقصّ من جانبيه — والعميل يرفع ما يملك لا ما نفترض. */
.lk-hero__cover {
    position: relative;
    aspect-ratio: var(--lk-cover-ratio, 16 / 9);
    overflow: hidden;
    background: var(--lk-band);
}

/*  غلاف أصغر من عرض البطاقة: تكبيره يُضبّبه. يُحتوى كاملاً بدل ذلك،
    وتملأ الفراغَ نسخةٌ مموّهة منه فلا يبدو الإطار ناقصاً. */
.lk-hero__cover.is-contained .lk-hero__media {
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.lk-hero__cover.is-contained::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lk-cover-src);
    background-size: cover;
    background-position: center;
    filter: blur(26px) saturate(1.15);
    transform: scale(1.12);
}

.lk-hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

.lk-hero__scrim {
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to top,
        color-mix(in srgb, var(--lk-page) 92%, transparent),
        transparent);
    pointer-events: none;
}

.lk-hero__body {
    position: relative;
    padding: 0 20px 4px;
    text-align: center;
}

.lk-hero__avatar {
    width: 104px;
    height: 104px;
    margin: -52px auto 14px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lk-surface);
    border: 3px solid var(--lk-surface);
    box-shadow: 0 6px 20px var(--lk-shadow);
}

.lk-hero__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/*  الصورة الشخصية تُقصّ لتملأ الدائرة — وهذا صحيح لصورة وجه، وخطأ
    لشعار: `cover` يقطع طرفي الكلمة فيظهر الشعار مبتوراً.
    الصنف is-logo يضعه السكربت حين تكون نسبة الصورة بعيدة عن المربّع
    (أي أنها شعار عريض أو طويل غالباً)، فتُحتوى كاملة بهامش بدل أن تُقصّ. */
.lk-hero__avatar.is-logo { background: var(--lk-surface); }

.lk-hero__avatar.is-logo img {
    object-fit: contain;
    padding: 12%;
}

.lk-hero__name {
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.lk-hero__verified { color: var(--lk-accent); font-size: .72em; }

.lk-hero__role {
    margin-top: 5px;
    font-size: 14px;
    color: var(--lk-accent);
    font-weight: 550;
}

.lk-hero__company { margin-top: 2px; font-size: 13.5px; }

.lk-hero__bio {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.65;
}

/* مبدّل اللغة */
.lk-lang { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; }

.lk-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--lk-heading);
    background: color-mix(in srgb, var(--lk-surface) 88%, transparent);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px var(--lk-shadow);
}

.lk-lang__menu {
    display: none;
    position: absolute;
    inset-inline-end: 0;
    margin-top: 6px;
    min-width: 84px;
    padding: 6px;
    border-radius: 12px;
    background: var(--lk-surface);
    box-shadow: 0 10px 30px var(--lk-shadow);
}

.lk-lang:hover .lk-lang__menu,
.lk-lang:focus-within .lk-lang__menu { display: block; }

.lk-lang__menu a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lk-heading);
}

.lk-lang__menu a:hover,
.lk-lang__menu a.is-active { background: var(--lk-accent-soft); color: var(--lk-accent); }

/* ---------- الأزرار ---------- */
.lk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;               /* هدف لمس مقبول على الهاتف */
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.lk-btn--solid {
    background: var(--lk-accent);
    border-color: var(--lk-accent);
    color: var(--lk-on-accent);
}

.lk-btn--solid:hover { background: var(--lk-accent-hover); border-color: var(--lk-accent-hover); }

.lk-btn--outline {
    background: transparent;
    border-color: var(--lk-accent);
    color: var(--lk-accent);
}

.lk-btn--outline:hover { background: var(--lk-accent-soft); }

.lk-btn--ghost {
    background: var(--lk-surface);
    border-color: var(--lk-hairline);
    color: var(--lk-heading);
    flex-direction: column;
    gap: 5px;
    min-height: 66px;
    font-size: 12px;
    font-weight: 600;
}

.lk-btn--ghost i { font-size: 17px; color: var(--lk-accent); }
.lk-btn--ghost:hover { border-color: var(--lk-accent); }

/*  أنماط الأزرار السبعة كما يختارها العميل.
    الهندسة محفوظة كما في الأصل، لكن الحدّ يأخذ لون العميل بدل الأسود
    الثابت، وسُمكه 2 بكسل بدل 4 — الأصل كان يطغى على النصّ نفسه. */
.lk-btn[data-button-style="1"], .lk-btn[data-button-style="default"] { border-radius: 12px; }
.lk-btn[data-button-style="2"] { border-radius: 0; }
.lk-btn[data-button-style="3"] { border-radius: 999px; }
.lk-btn[data-button-style="4"] { border-radius: 12px; border-width: 2px; }
.lk-btn[data-button-style="5"] { border-radius: 12px; border-style: double; border-width: 3px; }
.lk-btn[data-button-style="6"] { border-radius: 12px; border-style: dashed; border-width: 2px; }
.lk-btn[data-button-style="7"] { border-radius: 999px; border-style: double; border-width: 3px; }

.lk-btn--solid[data-button-style="4"],
.lk-btn--solid[data-button-style="5"],
.lk-btn--solid[data-button-style="6"],
.lk-btn--solid[data-button-style="7"] { border-color: var(--lk-accent-hover); }

/* ---------- الأفعال ---------- */
.lk-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
}

.lk-actions--primary { grid-template-columns: 1fr; margin-top: 10px; }
.lk-actions--primary .lk-btn { width: 100%; }

/* ---------- الروابط الاجتماعية ---------- */
.lk-social__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.lk-social__row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lk-surface);
    border: 1px solid var(--lk-hairline);
    color: var(--lk-social);
    font-size: 17px;
    transition: border-color .18s ease, transform .18s ease;
}

.lk-social__row a:hover { border-color: var(--lk-accent); transform: translateY(-2px); }
.lk-social__row a img,
.lk-social__row a svg { width: 19px; height: 19px; object-fit: contain; }

/* ---------- الروابط المخصّصة ---------- */
.lk-links__stack { display: flex; flex-direction: column; gap: 10px; }
.lk-links__button { width: 100%; }

.lk-links__plain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--lk-surface);
    border: 1px solid var(--lk-hairline);
    color: var(--lk-heading);
    font-weight: 550;
    font-size: 14px;
}

.lk-links__plain i { color: var(--lk-accent); font-size: 12px; }
.lk-links__plain:hover { border-color: var(--lk-accent); }

/* ---------- قائمة التواصل ---------- */
.lk-contact__list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
    overflow: hidden;
}

.lk-contact__row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--lk-hairline);
}

.lk-contact__row:last-child { border-bottom: 0; }

.lk-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: var(--lk-accent-soft);
    color: var(--lk-accent);
    font-size: 14px;
}

.lk-contact__text { display: flex; flex-direction: column; min-width: 0; }

.lk-contact__label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .7;
}

.lk-contact__value {
    font-size: 14.5px;
    color: var(--lk-heading);
    font-weight: 550;
    overflow-wrap: anywhere;
}

a.lk-contact__value:hover { color: var(--lk-accent); }

/* ---------- الخدمات ---------- */
.lk-services__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lk-service {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 15px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

a.lk-service:hover { border-color: var(--lk-accent); }

.lk-service__icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    overflow: hidden;
    background: var(--lk-accent-soft);
}

.lk-service__icon img { width: 100%; height: 100%; object-fit: cover; }

.lk-service__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lk-service__name { font-weight: 620; color: var(--lk-heading); font-size: 14.5px; }
.lk-service__desc { font-size: 13px; line-height: 1.55; }

.lk-service__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--lk-accent);
    white-space: nowrap;
}

[dir="rtl"] .lk-service__go .fa-arrow-right,
[dir="rtl"] .lk-blog__more .fa-arrow-right { transform: scaleX(-1); }

/* ---------- المنتجات ---------- */
.lk-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lk-product {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
    overflow: hidden;
}

a.lk-product:hover { border-color: var(--lk-accent); }

.lk-product__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: var(--lk-band);
    color: var(--lk-accent);
    font-size: 24px;
}

.lk-product__media img { width: 100%; height: 100%; object-fit: cover; }

.lk-product__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 12px 13px;
}

.lk-product__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--lk-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lk-product__price { font-size: 14px; font-weight: 700; color: var(--lk-accent); }
.lk-product__price small { font-size: 11.5px; font-weight: 600; opacity: .85; }

/* ---------- المعرض ---------- */
.lk-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.lk-chip {
    height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--lk-hairline);
    background: var(--lk-surface);
    color: var(--lk-body);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.lk-chip.is-active {
    background: var(--lk-accent);
    border-color: var(--lk-accent);
    color: var(--lk-on-accent);
}

.lk-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lk-gallery__cell {
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
    overflow: hidden;
    background: var(--lk-band);
}

.lk-gallery__cell[hidden] { display: none; }

.lk-gallery__cell > *,
.lk-gallery__cell a { display: block; width: 100%; height: 100%; }
.lk-gallery__cell img,
.lk-gallery__cell video,
.lk-gallery__cell iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.lk-gallery__cell audio { width: 100%; height: auto; align-self: center; }

.lk-gallery__file {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--lk-accent);
    font-size: 11px;
    font-weight: 700;
}

.lk-gallery__file i { font-size: 20px; }

/* ---------- المواعيد ---------- */
.lk-appointment__box {
    padding: 16px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-field { position: relative; }

.lk-field__input {
    width: 100%;
    min-height: 46px;
    padding: 0 42px 0 14px;
    border: 1px solid var(--lk-hairline-strong);
    border-radius: 11px;
    background: var(--lk-page);
    color: var(--lk-heading);
    font: inherit;
    font-size: 14px;
}

[dir="rtl"] .lk-field__input { padding: 0 14px 0 42px; }

.lk-field__icon {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lk-accent);
    pointer-events: none;
}

.lk-appointment__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.lk-appointment__grid .time-slot {
    padding: 9px 13px;
    border: 1px solid var(--lk-hairline-strong);
    border-radius: 10px;
    background: var(--lk-page);
    color: var(--lk-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.lk-appointment__grid .time-slot.active,
.lk-appointment__grid .time-slot:hover {
    background: var(--lk-accent);
    border-color: var(--lk-accent);
    color: var(--lk-on-accent);
}

.lk-appointment .appointmentAdd { width: 100%; margin-top: 12px; }
.lk-appointment .d-none { display: none; }

/* ---------- ساعات العمل ---------- */
.lk-hours__list {
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
    overflow: hidden;
}

.lk-hours__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--lk-hairline);
    font-size: 14px;
}

.lk-hours__row:last-child { border-bottom: 0; }
.lk-hours__row.is-today { background: var(--lk-accent-soft); }

.lk-hours__day {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lk-heading);
    font-weight: 550;
    text-transform: capitalize;
}

.lk-hours__badge {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--lk-accent);
    color: var(--lk-on-accent);
}

.lk-hours__time { font-variant-numeric: tabular-nums; }
.lk-hours__time.is-closed { opacity: .55; }

/* ---------- الشهادات ---------- */
.lk-testimonials__list { display: flex; flex-direction: column; gap: 12px; }

.lk-quote {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-quote__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.lk-quote__by {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lk-hairline);
}

.lk-quote__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.lk-quote__name { font-size: 13.5px; font-weight: 620; color: var(--lk-heading); }

/* ---------- المدوّنة ---------- */
.lk-blogs__list { display: flex; flex-direction: column; gap: 10px; }

.lk-blog {
    display: flex;
    gap: 13px;
    padding: 13px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-blog:hover { border-color: var(--lk-accent); }

.lk-blog__media {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 11px;
    overflow: hidden;
    background: var(--lk-band);
}

.lk-blog__media img { width: 100%; height: 100%; object-fit: cover; }

.lk-blog__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lk-blog__title { font-size: 14.5px; font-weight: 620; color: var(--lk-heading); }
.lk-blog__excerpt { font-size: 13px; line-height: 1.55; }
.lk-blog__more { font-size: 12.5px; font-weight: 600; color: var(--lk-accent); }

/* ---------- متجر واتساب ---------- */
.lk-stores__grid { display: flex; flex-direction: column; gap: 10px; }

.lk-store {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-store:hover { border-color: var(--lk-accent); }

.lk-store__media {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--lk-band);
}

.lk-store__media img { width: 100%; height: 100%; object-fit: cover; }
.lk-store__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lk-store__name { font-size: 14.5px; font-weight: 620; color: var(--lk-heading); }
.lk-store__go { font-size: 12.5px; font-weight: 600; color: var(--lk-accent); }

/* ---------- روابط الدفع ---------- */
.lk-pay__list { display: flex; flex-direction: column; gap: 10px; }

.lk-pay__item {
    padding: 14px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-pay__head { display: flex; align-items: center; gap: 11px; }

.lk-pay__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    object-fit: cover;
}

.lk-pay__icon--glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lk-accent-soft);
    color: var(--lk-accent);
}

.lk-pay__label { font-size: 14.5px; font-weight: 620; color: var(--lk-heading); }
.lk-pay__image { display: block; width: 100%; margin-top: 12px; border-radius: 11px; }
.lk-pay__go { width: 100%; margin-top: 12px; }

.lk-pay__value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--lk-page);
}

.lk-pay__value code {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: var(--lk-heading);
    overflow-wrap: anywhere;
}

.lk-pay__copy {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid var(--lk-hairline-strong);
    border-radius: 9px;
    background: var(--lk-surface);
    color: var(--lk-accent);
    cursor: pointer;
}

.lk-pay__copy.is-copied { background: var(--lk-accent); border-color: var(--lk-accent); color: var(--lk-on-accent); }

/* ---------- التضمينات والإطارات ---------- */
.lk-embed__stack,
.lk-iframes__stack { display: flex; flex-direction: column; gap: 12px; }

.lk-embed__item {
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
    overflow: hidden;
}

.lk-embed__item iframe,
.lk-embed__item blockquote { width: 100% !important; margin: 0 !important; border: 0; }

.lk-iframes__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--lk-hairline);
    background: var(--lk-surface);
}

.lk-iframes__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- الخريطة ---------- */
.lk-map__address { margin-bottom: 12px; font-size: 14px; color: var(--lk-heading); }

.lk-map__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--lk-hairline);
    background: var(--lk-band);
}

.lk-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lk-map .lk-btn { width: 100%; }

/* ---------- رمز QR ---------- */
.lk-qr__box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--lk-hairline);
    border-radius: 14px;
    background: var(--lk-surface);
}

.lk-qr__code {
    flex: 0 0 auto;
    line-height: 0;
    padding: 8px;
    border-radius: 11px;
    background: var(--lk-page);
}

.lk-qr__code svg,
.lk-qr__code img { width: 110px; height: 110px; display: block; }

.lk-qr__lead { font-size: 15px; margin-bottom: 5px; }
.lk-qr__desc { font-size: 12.5px; line-height: 1.55; }

/* ---------- اللافتة ---------- */
.lk-banner__box {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 18px;
    border-radius: 16px;
    background: var(--lk-band);
    border: 1px solid var(--lk-hairline);
}

.lk-banner__title { font-size: 17px; }
.lk-banner__desc { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }
.lk-banner .lk-btn { width: 100%; }

/* ---------- التذييل ---------- */
.lk-footer {
    margin-top: 28px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--lk-hairline);
}

.lk-footer__policies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 9px;
}

.lk-footer__policies a { color: var(--lk-accent); font-weight: 550; }
.lk-footer__credit { font-size: 12.5px; opacity: .8; }

/* ---------- الشريط اللاصق ---------- */
.lk-sticky {
    position: fixed;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lk-sticky--end { inset-inline-end: 16px; }
.lk-sticky--start { inset-inline-start: 16px; }

.lk-sticky__btn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lk-hairline);
    border-radius: 50%;
    background: var(--lk-surface);
    color: var(--lk-accent);
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--lk-shadow);
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.lk-sticky__btn:hover { transform: translateY(-2px); }

.lk-sticky__btn--wa {
    background: var(--lk-accent);
    border-color: var(--lk-accent);
    color: var(--lk-on-accent);
}

.lk-sticky__btn.is-copied { background: var(--lk-accent); color: var(--lk-on-accent); }

.lk-sticky__btn--top { opacity: 0; pointer-events: none; }
.lk-sticky__btn--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- نافذة النشرة البريدية ---------- */
.lk-news__box {
    position: relative;
    padding: 26px 22px 24px;
    border: 0;
    border-radius: 16px;
    background: var(--lk-surface);
    color: var(--lk-body);
}

.lk-news__close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--lk-band);
    color: var(--lk-heading);
    cursor: pointer;
}

.lk-news__title { font-size: 18px; margin-bottom: 6px; }
.lk-news__desc { font-size: 13.5px; line-height: 1.6; }

.lk-news__form {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.lk-news__form .lk-field__input { flex: 1 1 190px; padding: 0 14px; }
.lk-news__form .lk-btn { flex: 0 0 auto; }

/* ---------- صفحة المنتجات الكاملة ---------- */
.lk-phead {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: color-mix(in srgb, var(--lk-page) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lk-hairline);
}

.lk-phead__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: var(--lk-surface);
    border: 1px solid var(--lk-hairline);
    color: var(--lk-heading);
}

[dir="rtl"] .lk-phead__back .fa-arrow-left { transform: scaleX(-1); }

.lk-phead__title { flex: 1; font-size: 17px; }

.lk-phead__count {
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--lk-accent-soft);
    color: var(--lk-accent);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lk-products__grid--full { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lk-product__desc {
    font-size: 12px;
    line-height: 1.5;
    opacity: .85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lk-empty {
    padding: 40px 0;
    text-align: center;
    opacity: .6;
    font-size: 14px;
}

/* ---------- شاشات أوسع ---------- */
@media (min-width: 560px) {
    .lk-shell { box-shadow: 0 0 60px var(--lk-shadow); }
    .lk-stack { padding: 28px 26px 8px; }
    .lk-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lk-actions--primary { grid-template-columns: 1fr; }
}

} /* @layer lk-base */
