@font-face{
    font-family: "Tajawal";
    src: url("../font/Tajawal-Regular.ttf") format("truetype");
    font-display: swap;
}

:root{
    --white: #fff;
    --black: #000;
    --transformBG: #f7f7f7;
    --border: rgba(0, 0, 0, 0.2);
    --primary: #3a74c9;
    --primaryHover: rgb(58, 116, 201, 0.75);
    --secondery: #323232;
    --seconderyHover: rgb(50, 50, 50, 0.75);
    --lightGrey: #f8f8f8;
    --radius: 8px;
}

body[data-theme="grey"]{
}

body[data-theme="dark"]{
}

*,
*:before,
*:after{
    font-family: "Tajawal", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: grid;
    grid-template-areas:
        "header"
        "main"
        "footer";
    gap: 7px;
    direction: ltr;
    background-color: #f0f0f0;
}

.swal2-actions{
    direction: rtl;
}


/************************ HEADER ************************/
body header{
    grid-area: header;
    display: grid;
    grid-template-columns: auto auto auto;
    margin: 0;
    padding: 10px 8%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    height: auto;
    gap: 15px;
}
body header figure{
    height: 80px;
}
body header figure img{
    height: 80px;
    width: auto;
    max-width: 180px;
}

body header .categories{
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI", Arial, sans-serif;
}

body header .categories .categorie{
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    font-size: 15px;
    color: #333;
}

body header .categories .categorie:hover{
    color: var(--primary);
}
body header .categories .categorie p{
    cursor: pointer;
}
body header .categories .categorie i{
    font-size: 12px;
    margin-top: 2px;
}

body header .categories .categorie .dropdown{
    display: none !important;
    position: absolute;
    top: 100%;
    right: 10px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    flex-direction: column;
    padding: 12px 0;
    z-index: 4;
    animation: fadeIn 0.25s ease;
    max-height: 500px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body header .categories .categorie .dropdown::-webkit-scrollbar{
    width: 0;
    height: 0;
}
body header .categories .categorie .dropdown .title{
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    display: inline-block;
    margin-left: 10px;
}

body header .categories .categorie .dropdown .item{
    padding: 10px 18px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body header .categories .categorie .dropdown .item:hover{
    background: var(--primaryHover);
    color: var(--white);
}

body header .categories .categorie:hover > .dropdown{
    display: flex !important;
}

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(8px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

body header .functions{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 15px;
}

body header .functions .wilaya{
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    font-size: 18px;
    color: #333;
}
body header .functions .wilaya i{
    font-size: 16px;
    display: grid;
    align-items: center;
    align-self: center;
}

body header .functions .wilaya .dropdown{
    display: none !important;
    position: absolute;
    top: 100%;
    right: 10px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    flex-direction: column;
    padding: 12px 0;
    z-index: 4;
    animation: fadeIn 0.25s ease;
    max-height: 500px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    direction: rtl;
}
body header .functions .wilaya .dropdown::-webkit-scrollbar{
    width: 0;
    height: 0;
}
body header .functions .wilaya .dropdown .title{
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    display: inline-block;
    margin-left: 10px;
}

body header .functions .wilaya .dropdown .item{
    padding: 10px 18px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
body header .functions .wilaya .dropdown .item i{
    font-size: 14px;
    margin-bottom: 0px;
}
body header .functions .wilaya .dropdown .item:hover{
    background: var(--primaryHover);
    color: var(--white);
}

body header .functions .wilaya:hover > .dropdown{
    display: flex !important;
}

body header .functions .wilaya .helper{
    position: absolute;
    top: 30px;
    right: 0;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffe8a1;
    z-index: 2;
    font-size: 15px;
    font-weight: 500;
    width: max-content;
    animation: helperPulse 3.5s ease-in-out infinite;
    box-shadow: 0 6px 14px rgba(133,100,4,0.18);
}

body header .functions .wilaya .helper p{
    display: block;
}

body header .functions .wilaya .helper::before{
    content:"";
    position:absolute;
    top:-10px;
    right:14px;
    width:0; height:0;
    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-bottom:10px solid #ffe8a1;
}

body header .functions .wilaya .helper::after{
    content:"";
    position:absolute;
    top:-9px;
    right:15px;
    width:0; height:0;
    border-left:9px solid transparent;
    border-right:9px solid transparent;
    border-bottom:9px solid #fff3cd;
}

body header .functions .wilaya .helper:hover{
  animation: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(133,100,4,0.22);
}

@keyframes helperPulse{
  0%   { transform: translateY(0) scale(1);   box-shadow: 0 0 0 0 rgba(133,100,4,.30); }
  35%  { transform: translateY(-1px) scale(1.01); box-shadow: 0 0 0 10px rgba(133,100,4,0); }
  70%  { transform: translateY(0) scale(1);   box-shadow: 0 0 0 0 rgba(133,100,4,0); }
  100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  body header .functions .wilaya .helper{ animation: none; }
}

body header .functions .wilaya .helper.is-hidden{
  display: none !important;
}

body header .functions .menu{
    display: none;
}

/************************ MAIN ************************/
body main{
    grid-area: main;
    
    min-width: 0;
    margin: 30px 8% 30px 8%;
    position: relative;
}

body main .profile-surface{
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
    overflow: hidden;
    padding: 18px;
}

body main .warning{
    position: static;
    margin: 8px 0 14px;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    background: #ffcdcd;
    color: #850404;
    border: 1px solid #ffa1a1;
    z-index: 2;
    max-width: min(90vw, 520px);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 6px 14px rgba(133, 4, 4, 0.18);
    animation: helperPulse 3.5s ease-in-out infinite;
}

body main .breadcrumbs{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5eaf2;
    background: #f8fbff;
    margin-bottom: 14px;
    font-size: 13px;
    color: #475569;
}
body main .breadcrumbs a{
    text-decoration: none;
    color: #1d4ed8;
    font-weight: 700;
}
body main .breadcrumbs strong{
    color: #0f172a;
    font-weight: 800;
}
body main .breadcrumbs a:hover{
    text-decoration: underline;
}

/* Rating Popup Rebuild */
.swal2-popup.wt-rate-popup{
    border-radius: 18px !important;
    padding: 16px 16px 14px !important;
}
.swal2-title.wt-rate-title{
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.wt-rate-wrap{
    text-align: right;
}
.wt-rate-login-note{
    direction: rtl;
    text-align: center;
    color: #334155;
    line-height: 1.8;
    font-size: 15px;
}
.wt-rate-lead{
    margin: 0 0 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}
.wt-rate-stars{
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 6px;
}
.wt-rate-star{
    width: 44px;
    height: 44px;
    border: 1px solid #dbe4f4;
    border-radius: 12px;
    background: #f8fbff;
    color: #cbd5e1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}
.wt-rate-star:hover{
    transform: translateY(-2px);
    border-color: #f59e0b;
}
.wt-rate-star.is-active{
    color: #f59e0b;
    background: #fff7ed;
    border-color: #fdba74;
    box-shadow: 0 8px 16px rgba(245,158,11,.2);
}
.wt-rate-caption{
    text-align: center;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.wt-rate-label{
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.wt-rate-textarea{
    width: 100%;
    min-height: 96px;
    border: 1px solid #d8e0ee;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    background: #fff;
    color: #0f172a;
}
.wt-rate-textarea:focus{
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.wt-rate-counter{
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    text-align: left;
}
.wt-rate-comments{
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}
.wt-rate-comments h4{
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    color: #334155;
}
.wt-rate-comments-list{
    max-height: 220px;
    overflow: auto;
    padding: 10px 10px 2px;
}
.wt-rate-comment{
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 10px;
    background: #f9fbff;
    margin-bottom: 8px;
}
.wt-rate-comment-stars{
    font-size: 16px;
    color: #f59e0b;
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.wt-rate-comment-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.wt-rate-comment-meta strong{
    font-size: 13px;
    color: #1f2937;
}
.wt-rate-comment-meta span{
    font-size: 12px;
    color: #64748b;
}
.wt-rate-comment p{
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #334155;
}
.wt-rate-empty{
    margin: 4px 0 10px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

body main .profile-page-skeleton{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: auto;
    padding: 18px 14px 20px;
    background: rgba(246, 248, 252, 0.96);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
body main .profile-page-skeleton > *{
    width: min(1080px, calc(100% - 4px));
    margin-inline: auto;
}
body.cards-loading main .profile-page-skeleton{
    display: block;
}
body.cards-loading main.profile-page .breadcrumbs{
    display: none !important;
}
body.cards-loading main.profile-page .profile-surface > :not(.profile-page-skeleton){
    display: none !important;
}

body main .profile-page-skeleton .psk-hero,
body main .profile-page-skeleton .psk-avatar,
body main .profile-page-skeleton .psk-line,
body main .profile-page-skeleton .psk-chip,
body main .profile-page-skeleton .psk-btn,
body main .profile-page-skeleton .psk-stat,
body main .profile-page-skeleton .psk-row,
body main .profile-page-skeleton .psk-side-box,
body main .profile-page-skeleton .psk-social,
body main .profile-page-skeleton .psk-sim-card,
body main .profile-page-skeleton .psk-stat i,
body main .profile-page-skeleton .psk-stat b,
body main .profile-page-skeleton .psk-stat small{
    background: linear-gradient(90deg, #e9edf4 25%, #f6f8fb 37%, #e9edf4 63%);
    background-size: 400% 100%;
    animation: wtShimmer 1.2s ease infinite;
    border-radius: 12px;
    display: block;
}
body main .profile-page-skeleton .psk-hero-wrap{
    position: relative;
}
body main .profile-page-skeleton .psk-hero{
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 14px;
}
body main .profile-page-skeleton .psk-avatar{
    width: 118px;
    height: 118px;
    margin-top: -59px;
    margin-right: 18px;
    border-radius: 14px;
    border: 4px solid #f7f9fd;
}
body main .profile-page-skeleton .psk-socials{
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    gap: 8px;
}
body main .profile-page-skeleton .psk-social{
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 50%;
}
body main .profile-page-skeleton .psk-main-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 14px;
}
body main .profile-page-skeleton .psk-lines{
    display: grid;
    gap: 9px;
}
body main .profile-page-skeleton .psk-line{
    height: 14px;
    width: 82%;
}
body main .profile-page-skeleton .psk-line--lg{
    height: 24px;
    width: 58%;
}
body main .profile-page-skeleton .psk-line--md{
    width: 38%;
}
body main .profile-page-skeleton .psk-line--sm{
    width: 46%;
}
body main .profile-page-skeleton .psk-chips{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
body main .profile-page-skeleton .psk-chip{
    height: 28px;
    width: 130px;
    border-radius: 999px;
}
body main .profile-page-skeleton .psk-actions{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
body main .profile-page-skeleton .psk-btn{
    height: 46px;
}
body main .profile-page-skeleton .psk-stats{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body main .profile-page-skeleton .psk-stat{
    height: 84px;
    border-radius: 12px;
    border: 1px solid #e4eaf6;
    background: #fff;
    padding: 9px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 8px;
    align-items: center;
}
body main .profile-page-skeleton .psk-stat i{
    width: 26px;
    height: 26px;
    border-radius: 50%;
}
body main .profile-page-skeleton .psk-stat b{
    height: 16px;
    width: 70%;
    border-radius: 8px;
}
body main .profile-page-skeleton .psk-stat small{
    height: 12px;
    width: 55%;
    border-radius: 7px;
    margin-top: 5px;
    grid-column: 2;
}
body main .profile-page-skeleton .psk-stats-card{
    margin-top: 14px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}
body main .profile-page-skeleton .psk-details{
    margin-top: 16px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px;
    background: #fff;
}
body main .profile-page-skeleton .psk-row{
    height: 40px;
}
body main .profile-page-skeleton .psk-similar{
    margin-top: 16px;
}
body main .profile-page-skeleton .psk-similar-grid{
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body main .profile-page-skeleton .psk-sim-card{
    height: 168px;
    border-radius: 12px;
}
body main .profile-page-skeleton .psk-side-col{
    display: grid;
    gap: 12px;
}
body main .profile-page-skeleton .psk-side-box{
    height: 180px;
    border-radius: 14px;
}
body main .profile-page-skeleton .psk-side-box--tall{
    height: 280px;
}

body main .header{
    display: grid;
    grid-template-rows: 200px auto;
    width: 100%;
    position: relative;
}

body main .header .cover img{
    height: 200px;
    width: 100%;
    border-radius: var(--radius);
    cursor: pointer;
}
body main .header .image{
    border-radius: var(--radius);
    border: 1px solid var(--white);
    height: 120px;
    width: 120px;
    position: absolute;
    bottom: -60px;
    right: 20px;
    z-index: 2;
    cursor: pointer;
    background-color: var(--white);
}
body main .header .image img{
    border-radius: var(--radius);
    border: 1px solid var(--white);
    height: 118px;
    width: 118px;
    z-index: 2;
}

body main .header .badges.badges--header{
    position:absolute;
    top:8px;
    left:8px;
    display:flex;
    flex-direction:column;
    gap:10px;
    z-index:2;
}

/* زر الشارة — أيقونة فقط بدون مربّع */
body main .header .badge{
    --badge-color:#3b82f6;
    --badge-ink:#ffffff;
    width:40px; height:40px;
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--badge-ink);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--badge-color) 92%, white 8%), var(--badge-color)),
        radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%);
    border:1px solid color-mix(in srgb, var(--badge-color) 65%, black 35%);
    border-radius:14px;
    box-shadow:
        0 10px 24px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.35);
    backdrop-filter:saturate(1.1) blur(3px);
    -webkit-backdrop-filter:saturate(1.1) blur(3px);
    cursor:pointer;
    transition:
        transform .22s cubic-bezier(.22,.61,.36,1),
        box-shadow .25s ease,
        filter .25s ease,
        background .25s ease,
        border-color .25s ease;
    will-change:transform, filter;
    position:relative;
}
body main .header .badge i{ 
    font-size:18px;
    line-height:1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    align-content: center;
    justify-items: center;
}
body main .header .badge:hover{ 
    transform: translateY(-3px) scale(1.03);
    filter: saturate(1.06) brightness(1.03);
    box-shadow:
        0 14px 34px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.4);
}


body main .header .badge:active{
    transform: translateY(0) scale(.98);
    box-shadow:
        0 8px 18px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.25);
}

body main .header .badge:focus-visible{
    outline:3px solid color-mix(in srgb, var(--badge-color) 45%, white 55%);
    outline-offset:2px;
}

body main .header .badge.badge--sm{ width:34px; height:34px; border-radius:12px; }
body main .header .badge.badge--lg{ width:46px; height:46px; border-radius:14px; }
body main .header .badge.badge--sm i{ font-size:16px; }
body main .header .badge.badge--lg i{ font-size:20px; }

body main .header .badge.badge--primary{ --badge-color:#1877F2; }
body main .header .badge.badge--success{ --badge-color:#10B981; }
body main .header .badge.badge--warning{ --badge-color:#F59E0B; }
body main .header .badge.badge--danger{  --badge-color:#EF4444; }
body main .header .badge.badge--neutral{ --badge-color:#6B7280; }

body main .header .badge.badge--status{  --badge-color:#10B981; }
body main .header .badge.badge--verified{ --badge-color:#F59E0B; }

/* MetaStatus Rebuild: compact chips (header) */
body main .header .badges{
    gap: 6px;
    max-width: calc(100% - 20px);
}
body main .header .badge{
    height: 30px;
    min-width: 30px;
    width: auto;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--badge-color) 35%, #cbd5e1 65%);
    background: #ffffff;
    color: color-mix(in srgb, var(--badge-color) 75%, #0f172a 25%);
    box-shadow: 0 4px 12px rgba(2, 6, 23, .12);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: max-content;
    max-width: 100%;
}
body main .header .badge i{
    font-size: 13px;
}
body main .header .badge .badge-label{
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}
body main .header .badge.badge--status{
    background: color-mix(in srgb, var(--badge-color) 11%, #ffffff 89%);
}
body main .header .badge.badge--verified{
    background: color-mix(in srgb, var(--badge-color) 11%, #ffffff 89%);
}
body main .header .badge{
    -webkit-appearance: none;
    appearance: none;
    overflow: visible;
    white-space: nowrap;
    min-width: max-content;
    padding-inline: 12px;
    direction: rtl;
}
body main .header .badge i{
    flex: 0 0 auto;
}
body main .header .badge .badge-label{
    display: inline-block;
    white-space: nowrap;
    line-height: 1.15;
    letter-spacing: 0;
}


body main .header .social{
    position: absolute;
    top: 175px;
    left: 8px;
    display: inline-flex;
    gap: 8px;
}
body main .header .social .cover{
    height: 48px;
    width: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.92);
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
    overflow: hidden;
    cursor: pointer;
    transition: 0.36s;
}
body main .header .social .cover.is-missing { 
    opacity:.55;
    filter:grayscale(100%);
    cursor:pointer;
}
body main .header .social .cover:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    transition: 0.36s;
}
body main .header .social .cover a{
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    text-decoration: none;
    border-radius: 50%;
    overflow: hidden;
}
body main .header .social .cover a img{
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
}
body main .header .social .cover.social-item--number{ border-color: rgba(34,197,94,.85); }
body main .header .social .cover.social-item--facebook{ border-color: rgba(59,130,246,.85); }
body main .header .social .cover.social-item--instagram{ border-color: rgba(236,72,153,.85); }
body main .header .social .cover.social-item--tiktok{ border-color: rgba(71,85,105,.85); }
body main .header .social .cover.is-missing a img{ opacity: .7; }
body main .informations .title_location{
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: auto;
    margin-top: 90px;
    text-align: right;
}
body main .informations .title_location .title{
    display: grid;
    height: auto;
    grid-template-rows: auto auto auto;
    gap: 8px;
}
body main .informations .title_location .title h1{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
}
body main .informations .title_location .title .entity-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
body main .informations .title_location .title .entity-chip{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #d9e5f8;
    background: #eff5ff;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 700;
}
body main .informations .title_location .title .entity-chip i{
    line-height: 1;
}

body main .informations .title_location .title .locationText{
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

body main .informations .title_location .title .locationText h4{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8b8b8b;
    font-size: 16px;
}
body main .informations .title_location .title .locationText i{
    display: inline-flex;
    color: #8b8b8b;
}
body main .informations .title_location .location{
    display: grid;
    justify-content: flex-end;
    align-items: center;
}
body main .informations .title_location .location div{
    height: 58px;
    border-radius: 50%;
    width: 58px;
    padding: 5px;
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--transformBG);
}
body main .informations .title_location .location div:hover{
    transition: 0.36s;
    background-color: var(--border);
}
body main .informations .title_location .location a{
    text-decoration: none;
    color: var(--black);
}
body main .informations .title_location .location a i{
    font-size: 30px;
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
	color: var(--transform);
}

body main .informations .profile-quick-actions{
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
body main .informations .profile-quick-actions .qa-btn{
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #d6e3f8;
    background: #f3f7ff;
    color: #1e40af;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
body main .informations .profile-quick-actions .qa-btn i{
    font-size: 16px;
    line-height: 1;
}
body main .informations .profile-quick-actions .qa-btn--call{
    background: #edfdf3;
    border-color: #b7efc8;
    color: #0f766e;
}
body main .informations .profile-quick-actions .qa-btn--map{
    background: #eef4ff;
    border-color: #cfe0ff;
    color: #1d4ed8;
}
body main .informations .profile-quick-actions .qa-btn--share{
    background: #fff7ed;
    border-color: #fed7aa;
    color: #b45309;
}
body main .informations .profile-quick-actions .qa-btn--rate{
    background: #fffbeb;
    border-color: #fde68a;
    color: #a16207;
}
body main .informations .profile-quick-actions .qa-btn--muted{
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280;
    cursor: default;
}
body main .informations .profile-quick-actions .qa-btn:hover{
    filter: brightness(.98);
}
body main .informations .stats{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr 2fr;
    text-align: center;
    align-items: center;
}
body main .informations .stats .counter{
    
}
body main .informations .stats .counter p{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8b8b8b;
    font-size: 16px;
}
body main .informations .stats .counter span{
    font-size: 14px;
    font-weight: 300;
}
body main .informations .stats .br{
    position: relative;
    margin: 0 auto;
}
body main .informations .stats .br:before{
    content: "";
    border-left: 0.05em solid var(--black);
}


body main .informations .rate-inline{
    display:inline-flex;
    gap:10px;
    align-items:center;
    margin-top:20px;
    border-radius:12px;
    background: #fff8e6;
    border:1px solid #fde7b3;
    cursor:pointer;
    user-select:none;
    width: 100%;
    height: 60px;
    padding: 0px 18px;
}
body main .informations .rate-inline__stars i{
    font-size:18px;
    color:#f59e0b; 
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.05));
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
}
body main .informations .rate-inline__text{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}
body main .informations .rate-inline__text strong{
    font-size:14px;
    color:#7c4a00;
}
body main .informations .rate-inline__meta{
    font-size:12px;
    color:#8b6a2b;
}

body main .informations .details{
    margin-top: 20px;
    text-align: right;
    direction: rtl;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

body main .informations .details .details__head{
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom: 10px;
}

body main .informations .details .details__title{
    font-size: 16px; font-weight: 800; color:#111827;
}

body main .informations .details .info-list{
    display:flex; flex-direction:column; gap:10px;
    margin:0; padding:0; list-style:none;
}

body main .informations .details .info-row{
    display:flex; align-items:center; gap:10px;
    padding:10px 0px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

body main .informations .details .info-icon{
    flex:0 0 32px; height:32px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color: var(--black);
    font-size:16px;
}

body main .informations .details .info-content{
    min-width:0; 
}
body main .informations .details .info-label{
    font-size:12px;
    color:#6b7280;
    margin:0 0 2px 0;
    letter-spacing:.2px;
}
body main .informations .details .info-value{
    font-size:14px;
    font-weight:700;
    color:#111827;
    margin:0;
    display:-webkit-box; -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
}
body main .informations .details .is-copiable:hover::after{ opacity:1; }

body main .informations .details .hours-card{
  padding:12px; border:1px dashed var(--wt-border, #eef1f5);
  border-radius:12px;
  background: rgba(37,99,235,.035);
}
body main .informations .details .hours-card .hours-line{
  padding:6px 0; border-bottom:1px dashed var(--wt-border, #eef1f5);
}
body main .informations .details .hours-card .hours-line:last-child{ border-bottom:0; }

/* سطر التحديث */
body main .informations .details .updated-note{
  font-size:12px; color:#6b7280; margin-top:8px;
}

body main .informations .seo-content{
    margin-top: 16px;
    border: 1px solid #e4ebf8;
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
body main .informations .seo-content h2{
    font-size: 18px;
    margin: 0 0 8px;
    color: #0f172a;
}
body main .informations .seo-content p{
    margin: 0;
    line-height: 1.9;
    color: #334155;
    font-size: 14px;
}
body main .informations .seo-content .seo-links{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
body main .informations .seo-content .seo-links a{
    text-decoration: none;
    border: 1px solid #d6e3fb;
    border-radius: 10px;
    background: #eff5ff;
    color: #1d4ed8;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
}
body main .informations .seo-content .seo-links a:hover{
    background: #dce9ff;
}

body main .similar .similar-title{
    margin: 34px 0 6px;
    font-size: 23px;
    color: #0f172a;
}
body main .similar .similar-subtitle{
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
}

body main.profile-page .header{
    grid-template-rows: auto;
}
body main.profile-page .header > .cover{
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #e8edf5;
}
@media (min-width: 769px){
    body main.profile-page .header > .cover{
        height: 600px;
    }
}
body main.profile-page .header > .cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
body main.profile-page .header .image{
    bottom: 14px;
    right: 14px;
    height: 128px;
    width: 128px;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.26);
    overflow: hidden;
}
body main.profile-page .header .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
body main.profile-page .header .social{
    top: auto;
    bottom: 12px;
    left: 12px;
}
body main.profile-page .header .social .cover{
    backdrop-filter: blur(3px);
    background: rgba(255,255,255,.9);
}
body main.profile-page .header .badges.badges--header{
    top: 12px;
    left: 12px;
}

body main.profile-page .informations{
    margin-top: 18px;
}
body main.profile-page .informations .title_location{
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}
body main.profile-page .informations .title_location .title h1{
    font-size: clamp(24px, 2.8vw, 33px);
    line-height: 1.35;
}
body main.profile-page .profile-content-grid{
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
body main.profile-page .profile-main-col{
    display: grid;
    gap: 14px;
}
body main.profile-page .profile-side-col{
    display: grid;
    gap: 12px;
}
body main.profile-page .side-card{
    border: 1px solid #dfe7f5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    padding: 14px;
}
body main.profile-page .side-card__title{
    margin: 0 0 10px;
    font-size: 16px;
    color: #0f172a;
}
body main.profile-page .side-map-link{
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #1d4ed8;
    background: #edf3ff;
    border: 1px solid #cdddff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
}
body main.profile-page .side-map-link i{
    font-size: 16px;
}
body main.profile-page .side-muted{
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}
body main.profile-page .hours-card--side{
    background: #f8fbff;
    border: 1px dashed #dbe6fb;
}
body main.profile-page .hours-card--side .hours-line{
    padding: 9px 6px;
    border-bottom: 1px dashed #e3ecf9;
    font-size: 13px;
}
body main.profile-page .hours-card--side .hours-line:last-child{
    border-bottom: 0;
}
body main.profile-page .stats{
    margin-top: 2px;
    border: 1px solid #e7edf8;
    background: #f9fbff;
    border-radius: 14px;
    padding: 12px 8px;
}
body main.profile-page .stats-card{
    border: 1px solid #e6edf8;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
body main.profile-page .stats-card__title{
    margin: 0 0 10px;
    font-size: 15px;
    color: #1e293b;
    font-weight: 800;
}
body main.profile-page .stats-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body main.profile-page .stat-item{
    border: 1px solid #dfe8f8;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 92px;
}
body main.profile-page .stat-item--rating{
    cursor: pointer;
}
body main.profile-page .stat-item--rating:hover{
    border-color: #c9dbfb;
    background: #f6faff;
}
body main.profile-page .stat-item__icon{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4f6;
    background: #f4f7fd;
    color: #1d4ed8;
    flex: 0 0 34px;
}
body main.profile-page .stat-item--rating .stat-item__icon{
    color: #b45309;
    background: #fff7ed;
    border-color: #fed7aa;
}
body main.profile-page .stat-item--views .stat-item__icon{
    color: #0f766e;
    background: #ecfeff;
    border-color: #bae6fd;
}
body main.profile-page .stat-item--tracks .stat-item__icon{
    color: #5b21b6;
    background: #f5f3ff;
    border-color: #ddd6fe;
}
body main.profile-page .stat-item__body{
    display: grid;
    gap: 2px;
    min-width: 0;
}
body main.profile-page .stat-item__body strong{
    font-size: 24px;
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}
body main.profile-page .stat-item__body strong small{
    font-size: 12px;
    color: #475569;
    margin-inline-start: 2px;
}
body main.profile-page .stat-item__body span{
    font-size: 13px;
    color: #334155;
    font-weight: 700;
}
body main.profile-page .stat-item__body em{
    font-style: normal;
    font-size: 11px;
    color: #64748b;
}
body main.profile-page .rate-inline{
    margin-top: 0;
}
body main.profile-page .details{
    margin-top: 0;
}


body main .boxes{
    margin-top: 20px;
}

body main .boxes .list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
body main.profile-page .boxes .list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body main .boxes .list .box{
    background: var(--white, #fff);
    border-radius: 14px;
    border: 1px solid #eef1f5;
    text-align: right;
    transition: transform .25s ease, border-color .25s ease;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    min-height: 440px;
    display: flex;
    flex-direction: column;
}

body main .boxes .list .box:hover{
    transform: translateY(-6px);
    border-color: #e6ebf2;
}

body main .boxes .list .media{
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f7fb;
}

body main .boxes .list .profile{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.001);
    transition: transform .35s ease, filter .35s ease;
}

body main .boxes .list:hover .profile{
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.03);
}

body main .boxes .list .media::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.12) 100%);
    z-index:1;
    pointer-events:none;
}

body main .boxes .list .badges{
    position:absolute;
    top:10px; left:10px;
    display:flex; flex-direction:column; gap:10px;
    z-index:2;
}

body main .boxes .list .badge{
    --badge-color:#3b82f6;
    --badge-ink:#ffffff;
    width:40px; height:40px;
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--badge-ink);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--badge-color) 92%, white 8%), var(--badge-color)),
        radial-gradient(120% 120% at 30% 10%, rgba(255,255,255,.35), rgba(255,255,255,0) 55%);
    border:1px solid color-mix(in srgb, var(--badge-color) 65%, black 35%);
    border-radius:14px;
    box-shadow:
        0 10px 24px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.35);
    backdrop-filter:saturate(1.1) blur(3px);
    -webkit-backdrop-filter:saturate(1.1) blur(3px);
    cursor:pointer;
    transition:
        transform .22s cubic-bezier(.22,.61,.36,1),
        box-shadow .25s ease,
        filter .25s ease,
        background .25s ease,
        border-color .25s ease;
    will-change:transform, filter;
    position:relative;
}

body main .boxes .list .badge i{
    font-size:18px;
    line-height:1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    align-content: center;
    justify-items: center;
}


body main .boxes .list .badge:hover{
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.06) brightness(1.03);
  box-shadow:
    0 14px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.4);
}


body main .boxes .list .badge:active{
  transform: translateY(0) scale(.98);
  box-shadow:
    0 8px 18px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.25);
}

body main .boxes .list .badge:focus-visible{
  outline:3px solid color-mix(in srgb, var(--badge-color) 45%, white 55%);
  outline-offset:2px;
}


body main .boxes .list .badge.badge--sm{ width:34px; height:34px; border-radius:12px; }
body main .boxes .list .badge.badge--lg{ width:46px; height:46px; border-radius:14px; }
body main .boxes .list .badge.badge--sm i{ font-size:16px; }
body main .boxes .list .badge.badge--lg i{ font-size:20px; }

body main .boxes .list .badge.badge--primary{ --badge-color:#1877F2; }
body main .boxes .list .badge.badge--success{ --badge-color:#10B981; }
body main .boxes .list .badge.badge--warning{ --badge-color:#F59E0B; }
body main .boxes .list .badge.badge--danger{  --badge-color:#EF4444; }
body main .boxes .list .badge.badge--neutral{ --badge-color:#6B7280; }

body main .boxes .list .badge.badge--status{  --badge-color:#10B981; }
body main .boxes .list .badge.badge--verified{ --badge-color:#F59E0B; }

/* MetaStatus Rebuild: compact chips (cards) */
body main .boxes .list .badges{
    gap: 6px;
    max-width: calc(100% - 20px);
}
body main .boxes .list .badge{
    height: 30px;
    min-width: 30px;
    width: auto;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--badge-color) 35%, #cbd5e1 65%);
    background: #ffffff;
    color: color-mix(in srgb, var(--badge-color) 75%, #0f172a 25%);
    box-shadow: 0 4px 12px rgba(2, 6, 23, .12);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: max-content;
    max-width: 100%;
}
body main .boxes .list .badge i{
    font-size: 13px;
}
body main .boxes .list .badge .badge-label{
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}
body main .boxes .list .badge.badge--status{
    background: color-mix(in srgb, var(--badge-color) 11%, #ffffff 89%);
}
body main .boxes .list .badge.badge--verified{
    background: color-mix(in srgb, var(--badge-color) 11%, #ffffff 89%);
}
body main .boxes .list .badge{
    -webkit-appearance: none;
    appearance: none;
    overflow: visible;
    white-space: nowrap;
    min-width: max-content;
    padding-inline: 12px;
    direction: rtl;
}
body main .boxes .list .badge i{
    flex: 0 0 auto;
}
body main .boxes .list .badge .badge-label{
    display: inline-block;
    white-space: nowrap;
    line-height: 1.15;
    letter-spacing: 0;
}

body main .boxes .list .box .items{
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

body main .boxes .list .box .items h3{
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    letter-spacing: .1px;
}

body main .boxes .list .box .items p{
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 10px 0;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

body main .boxes .list .box .items p:empty::before{ content: ""; }

body main .boxes .box .items .hours{
    margin: 10px 0 12px;
    font-size: 13px;
    color: #1f2937;
    color: var(--wt-ink);
    background: #3f70d80a;
    border: 1px dashed var(--wt-border);
    padding: 8px;
    border-radius: 10px;
}

body main .boxes .list .box .hours .hours-line{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

body main .boxes .list .box .hours .hours-line:nth-child(4){
    margin-bottom: 0px;
}
body main .boxes .list .box .hours .hours-line:nth-child(n+5){
  display: none;
}

body main .boxes .list .box .items .location{
    display:flex;
    align-items:center;
    gap:8px;
    margin: 6px 0 12px;
    cursor:pointer;
    color: var(--primary, #2563eb);
    transition: opacity .2s ease, transform .12s ease;
    text-decoration: none;
}

body main .boxes .list .box .items .location:hover{ opacity:.9; transform: translateY(-1px); }
body main .boxes .list .box .items .location i{ font-size:15px; line-height:1; margin-top:2px; }
body main .boxes .list .box .items .location p{
    font-size: 13px;
    margin:0;
    display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}

body main .boxes .list .box .items button{
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: var(--primary, #2563eb);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    transition: background-color .2s, transform .08s ease, box-shadow .2s, border-color .2s;
    box-shadow: 0 6px 16px rgba(37,99,235,.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body main .boxes .list .box .items button:hover{
    background-color: var(--primaryHover, #1d4ed8);
    box-shadow: 0 10px 24px rgba(29,78,216,.28);
}

body main .boxes .list .box .items button:active{
    transform: translateY(1px);
}

body main .boxes .list .box .items .quick-meta{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
body main .boxes .list .box .items .quick-meta .qm-chip{
    background: #f3f6fb;
    border: 1px solid #dfe8f4;
    color: #334155;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
body main .boxes .list .box .items .quick-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
body main .boxes .list .box .items .quick-actions .action-btn{
    border-radius: 10px;
    border: 1px solid #cfe0ff;
    background: #eef4ff;
    color: #1d4ed8;
    text-decoration: none;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}
body main .boxes .list .box .items .quick-actions .action-btn:hover{
    background: #dce9ff;
}
body main .boxes .list .box .items .card-main-btn{
    margin-top: 8px;
}
body.cards-loading main .boxes .list .box .items h3,
body.cards-loading main .boxes .list .box .items p,
body.cards-loading main .boxes .list .box .items .quick-meta .qm-chip,
body.cards-loading main .boxes .list .box .items .quick-actions .action-btn,
body.cards-loading main .boxes .list .box .items .card-main-btn{
    color: transparent !important;
    background: linear-gradient(90deg, #edf1f7 25%, #f7f9fc 37%, #edf1f7 63%);
    background-size: 400% 100%;
    animation: wtShimmer 1.2s ease infinite;
    border-color: transparent !important;
}
body main .boxes .list .media::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #e9edf4 25%, #f6f8fb 37%, #e9edf4 63%);
    background-size: 400% 100%;
    animation: wtShimmer 1.2s ease infinite;
    z-index: 0;
    opacity: 1;
    transition: opacity .25s ease;
}
body main .boxes .list .media.is-ready::before{
    opacity: 0;
}
@keyframes wtShimmer{
    0%{ background-position: 100% 0; }
    100%{ background-position: 0 0; }
}

body main .socialfixed{
    position: fixed;
    bottom: -100px;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    margin-left: 5px;
}

body main .socialfixed a{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius);
    color: #fff;
    font-size: 22px;
    transition: 0.3s ease;
    text-decoration: none;
}

body main .socialfixed a i{
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

body main .socialfixed a.facebook{
    background: #1877f2;
}
body main .socialfixed a.instagram{
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285aeb 90%
    );
}
body main .socialfixed a.whatsapp{
    background: #25d366;
}
body main .socialfixed a.tiktok{
    background: #000000;
}

body main .socialfixed a:hover{
    filter: brightness(1.1);
    transform: scale(1.08);
}

/************************ FOOTER ************************/
body footer{
  grid-area: footer;
  padding: 36px 8%;
  background-color: #f8f8f8;
}
body footer a{ color: inherit; text-decoration: none; }

/* ========== TITLES ========== */
body footer .ft-section-title{
  margin: 0 0 16px;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

/* ========== GUARANTEES ========== */
body footer .ft-g-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
body footer .ft-g-item{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
body footer .ft-g-icn{
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,0,0,.08);
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--primary);
}
body footer .ft-g-item h4{
  margin: 6px 0 4px;
  font-size: 15px;
}
body footer .ft-g-item p{
  margin: 0;
  color: var(--black);
  font-size: 13px;
}

/* ========== BRAND BAR ========== */
body footer .ft-brandbar{
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body footer .ft-brand{
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 720px;
}
body footer .ft-brand .ft-logo{
  width: 120px; height: auto;
}
body footer .ft-brand p{
  margin: 0;
  color: var(--black);
}
body footer .ft-follow{
  display: flex;
  align-items: center;
  gap: 10px;
}
body footer .ft-follow-title{ font-weight: 700; }
body footer .ft-social .s-icn{
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--primary);
  color: var(--white);
  margin-inline-start: 6px;
  transition: .25s;
}
body footer .ft-social .s-icn:hover{ transform: translateY(-2px); }

/* Brand colors */
body footer .ft-social .fb{ background:#1877f2; }
body footer .ft-social .wa{ background:#25d366; color:#0d0202; }
body footer .ft-social .ig{ background:#e1306c; }
body footer .ft-social .tt{ background:var(--black); }
body footer .ft-social .yt{ background:#ff0000; }
body footer .ft-social .li{ background:#0a66c2; }

/* ========== LINKS COLUMNS ========== */
body footer .ft-links{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 18px 0;
}
body footer .ft-col h4{
  position: relative;
  margin: 0px 0px 17px 0px;
  font-size: 16px;
}
body footer .ft-col h4::after{
  content: "";
  position: absolute;
  right: 0; bottom: -6px;
  width: 56px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
body footer .ft-col ul{ list-style: none; margin: 0; padding: 0; }
body footer .ft-col li{ margin: 8px 0; color: var(--black); }
body footer .ft-col a{ transition: .2s; }
body footer .ft-col a:hover{ margin-right: 4px; }

/* ========== INFO (ABOUT / CONTACT) ========== */
body footer .ft-info{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 8px 0 10px;
}
body footer .ft-info-col h4{
  margin: 0 0 10px;
  font-size: 16px;
}
body footer .ft-info-col ul{ list-style: none; margin: 0; padding: 0; }
body footer .ft-info-col li{ margin: 6px 0; color: var(--black); }
body footer .ft-info address{
  font-style: normal;
  color: var(--black);
  line-height: 1.7;
}

/* ========== LEGAL BAR ========== */
body footer .ft-legal{
  margin-top: 18px;
  text-align: center;
  color: var(--white);
  background: #090101;
  border-top: 1px solid var(--border);
  padding: 12px;
  border-radius: 10px;
}


@media (max-width: 1200px){
  body footer .ft-g-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px){
    body header{
        grid-area: header;
        position: fixed;
        margin: 0px;
        padding: 0px;
        grid-template-rows: auto auto;
        align-items: center;
        height: 80px;
        width: 100%;
        background-color: var(--white);
        z-index: 3;
        gap: 0px;
    }
    body header{
        margin: 0px;
        padding: 0px;
        display: grid;
        grid-template-columns: auto auto;
    }
    body header figure{
        z-index: 4;
        margin-left: 7px;
        display: grid;
        align-items: center;
        background-color: var(--white);
    }
    body header figure img{
        height: 70px;
        width: auto;
    }
    body header .categories{
        display: grid;
        position: absolute;
        background-color: var(--white);
        z-index: 3;
        width: 100%;
        left: 0;
        top: -1000px;
        transition: top 0.46s ease;
        justify-content: start;
        gap: 0px;
    }
    body header .categories .categorie{
        cursor: default;
        width: 100%;
        height: 55px;
        margin-right: 15px;
    }
    body header .categories .categorie:hover > .dropdown{
        display: none !important;
    }
    body header .categories .categorie.active > .dropdown{
        display: flex !important;
    }
    
    body header .functions .wilaya .helper{
        top: 50px;
    }

    body header .functions{
        gap: 10px;
        height: 100%;
        z-index: 4;
        margin-right: 7px;
        background-color: var(--white);
    }
    body header .functions .wilaya{
        display: grid;
        font-size: 20px;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
    }
    body header .functions .wilaya p{
        display: none;
    }
    body header .functions .wilaya i{
        color: var(--black);
        transition: 0.46s;
    }
    body header .functions .wilaya i:active{
        color: var(--primary);
        transition: 0.46s;
    }
    body header .functions .wilaya:hover > .dropdown{
        display: none !important;
    }
    body header .functions .wilaya.active > .dropdown{
        display: flex !important;
    }

    body header .functions .menu{
        display: grid;
        font-size: 20px;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
    }
    body header .functions .menu i{
        display: grid;
        justify-content: center;
        align-items: center;
        color: var(--black);
        transition: 0.46s;
    }
    body header .functions .menu i:active{
        color: var(--primary);
        transition: 0.46s;
    }
    /************************ MAIN ************************/
    body main{
        margin: 90px auto 10px auto;
        width: calc(100% - 14px);
    }
    body main .profile-surface{
        border-radius: 16px;
        padding: 12px;
    }
    body main .profile-page-skeleton{
        padding-top: 92px;
    }

    .swal2-popup.wt-rate-popup{
        width: calc(100vw - 18px) !important;
        max-width: calc(100vw - 18px) !important;
        padding: 12px 10px 10px !important;
    }
    .wt-rate-stars{
        gap: 6px;
    }
    .wt-rate-star{
        width: 40px;
        height: 40px;
        font-size: 24px;
        border-radius: 10px;
    }

    body main .warning{
        left: auto;
    }
    
    body main .header{
        grid-template-rows: 180px auto;
    }

    body main .header .cover img{
        height: 180px;
        width: 100%;
        border-radius: var(--radius);
        cursor: pointer;
    }

    body main .header .image{
        bottom: -50px;
        height: 100px;
        width: 100px;
        right: 10px;
    }
    body main .header .image img{
        height: 98px;
        width: 98px;
    }
    body main .header .social{
        top: 161px;
    }
    body main .header .social .cover{
        height: 38px;
        width: 38px;
        padding: 0;
    }
    body main .informations .profile-quick-actions{
        grid-template-columns: 1fr 1fr;
    }
    body main .informations .title_location .title h1{
        font-size: 19px;
    }
    body main .informations .seo-content .seo-links{
        flex-direction: column;
    }
    body main .similar .similar-title{
        font-size: 20px;
    }
    body main.profile-page .header .image{
        width: 94px;
        height: 94px;
    }
    body main.profile-page .header .social .cover{
        width: 34px;
        height: 34px;
        padding: 0;
    }
    body main.profile-page .header .social .cover a{
        padding: 5px;
    }
    body main.profile-page .informations .title_location{
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body main.profile-page .profile-content-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    body main.profile-page .stats-grid{
        grid-template-columns: 1fr 1fr;
    }
    body main.profile-page .stat-item{
        min-height: 84px;
        padding: 9px;
    }
    body main.profile-page .stat-item__body strong{
        font-size: 20px;
    }
    body main.profile-page .boxes .list{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    body main .header .badge,
    body main .boxes .list .badge{
        width: 28px;
        min-width: 28px;
        height: 28px;
        padding: 0;
        justify-content: center;
    }
    body main .header .badge .badge-label,
    body main .boxes .list .badge .badge-label{
        display: none;
    }
    body main .header .badge i,
    body main .boxes .list .badge i{
        font-size: 12px;
    }
    body main .profile-page-skeleton .psk-main-grid{
        grid-template-columns: 1fr;
    }
    body main .profile-page-skeleton .psk-side-box{
        height: 120px;
    }
    body main .profile-page-skeleton .psk-side-box--tall{
        height: 170px;
    }
    body main .profile-page-skeleton .psk-actions{
        grid-template-columns: 1fr 1fr;
    }
    body main .profile-page-skeleton .psk-stats{
        grid-template-columns: 1fr 1fr;
    }
    body main .profile-page-skeleton .psk-similar-grid{
        grid-template-columns: 1fr 1fr;
    }
    body main .profile-page-skeleton .psk-chip{
        width: 48%;
    }
    body main .informations .profile-quick-actions .qa-btn{
        min-height: 44px;
    }
    /************************ FOOTER ************************/
    body footer .ft-links{ grid-template-columns: repeat(2, 1fr); }
    body footer .ft-info{ grid-template-columns: 1fr; }
    body footer .ft-g-grid{ grid-template-columns: repeat(2, 1fr); }
    body footer .ft-brandbar{ flex-direction: column; align-items: flex-start; gap: 12px; }
    body footer .ft-brand .ft-logo{ width: 92px; }
    body footer .ft-social .s-icn{ width: 34px; height: 34px; }
    
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 1024px){
        body main .header .badge,
        body main .boxes .list .badge{
            min-width: 56px !important;
            width: auto !important;
            padding-inline: 10px !important;
            gap: 4px !important;
        }
        body main .header .badge .badge-label,
        body main .boxes .list .badge .badge-label{
            max-width: none !important;
            overflow: visible !important;
            text-overflow: clip !important;
            font-size: 12px !important;
            display: inline-block !important;
        }
    }
    @media (max-width: 430px){
        body main .header .badges,
        body main .boxes .list .badges{
            left: 8px !important;
            max-width: calc(100% - 16px) !important;
        }
        body main .header .badge,
        body main .boxes .list .badge{
            min-width: 56px !important;
            padding-inline: 12px !important;
            justify-content: flex-start !important;
        }
        body main .header .badge .badge-label,
        body main .boxes .list .badge .badge-label{
            font-size: 11px !important;
        }
    }
}

/* Badge direction fix (profile header + profile cards) */
body main .header .badges,
body main .boxes .list .badges{
  top: 10px;
  left: 10px;
  right: auto;
}
body main .header .badge,
body main .boxes .list .badge{
  direction: ltr;
  flex-direction: row-reverse;
}
body main .header .badge .badge-label,
body main .boxes .list .badge .badge-label{
  direction: rtl;
  unicode-bidi: plaintext;
}
