/* Taman Dahab – Live Gold Price Lists */
.tmd-lpg,
.tmd-lpg *{box-sizing:border-box}

.tmd-lpg{
    --tmd-lpg-gold:#c99736;
    --tmd-lpg-gold-2:#f0cf7c;
    --tmd-lpg-ink:#171d29;
    --tmd-lpg-ink-soft:#2b3443;
    --tmd-lpg-text:#394355;
    --tmd-lpg-muted:#70798a;
    --tmd-lpg-cream:#fffaf0;
    --tmd-lpg-line:rgba(201,151,54,.26);
    direction:rtl;
    width:100%;
    margin:32px 0;
    font-family:Cairo,-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;
    color:var(--tmd-lpg-text);
}

.tmd-lpg__header{
    position:relative;
    margin:0 0 18px;
    padding:0 4px 18px;
    text-align:right;
}

.tmd-lpg__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:9px;
    color:#9a6b19;
    font-size:12px;
    font-weight:800;
    letter-spacing:.01em;
}

.tmd-lpg__pulse{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#d94a4a;
    box-shadow:0 0 0 5px rgba(217,74,74,.12);
}

.tmd-lpg__heading{
    margin:0!important;
    padding:0!important;
    color:var(--tmd-lpg-ink)!important;
    font-size:clamp(24px,3vw,34px)!important;
    font-weight:900!important;
    line-height:1.35!important;
    letter-spacing:-.45px;
}

.tmd-lpg__subtitle{
    max-width:780px;
    margin:8px 0 0!important;
    color:#687285!important;
    font-size:14px!important;
    font-weight:600;
    line-height:1.9!important;
}

.tmd-lpg__ornament{
    display:block;
    width:86px;
    height:3px;
    margin-top:16px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--tmd-lpg-gold),var(--tmd-lpg-gold-2),rgba(201,151,54,0));
}

.tmd-lpg__list{
    display:grid;
    gap:14px;
}

.tmd-lpg__item{
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:58px minmax(0,1fr) minmax(215px,270px);
    align-items:stretch;
    min-height:168px;
    overflow:hidden;
    border:1px solid var(--tmd-lpg-line);
    border-radius:22px;
    background:
        radial-gradient(circle at 10% 0%,rgba(240,207,124,.16),transparent 31%),
        linear-gradient(135deg,#fffdf8 0%,#fffaf0 100%);
    box-shadow:0 12px 30px rgba(23,29,41,.065),inset 0 1px 0 #fff;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.tmd-lpg__item::before{
    content:"";
    position:absolute;
    top:0;
    right:84px;
    width:122px;
    height:4px;
    border-radius:0 0 10px 10px;
    background:linear-gradient(90deg,#b77c1d,#e2b555,#f1d98c);
    z-index:2;
}

.tmd-lpg__item:hover{
    transform:translateY(-2px);
    border-color:rgba(201,151,54,.45);
    box-shadow:0 16px 35px rgba(23,29,41,.10),inset 0 1px 0 #fff;
}

.tmd-lpg__number{
    display:flex;
    align-items:center;
    justify-content:center;
    border-left:1px solid rgba(201,151,54,.16);
    color:rgba(201,151,54,.56);
    font-size:15px;
    font-weight:900;
    writing-mode:vertical-rl;
    letter-spacing:.12em;
}

.tmd-lpg__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:25px 26px 24px;
}

.tmd-lpg__micro-label{
    display:block;
    margin-bottom:5px;
    color:#9c7a3d;
    font-size:10px;
    font-weight:800;
    line-height:1.4;
}

.tmd-lpg__title-link{
    position:relative!important;
    display:inline-block!important;
    margin:0!important;
    padding:0 0 0 35px!important;
    color:var(--tmd-lpg-ink)!important;
    font-family:inherit!important;
    font-size:inherit!important;
    font-weight:inherit!important;
    line-height:inherit!important;
    text-decoration:none!important;
    box-shadow:none!important;
}

.tmd-lpg__title-link:hover{color:#9a6818!important}

.tmd-lpg__link-arrow{
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:25px;
    height:25px;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(201,151,54,.36);
    border-radius:50%;
    background:#fff9eb;
    color:#b67b1d;
    line-height:1!important;
}

.tmd-lpg__link-arrow svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

.tmd-lpg__meaning p{
    max-width:760px;
    margin:0!important;
    color:#000000!important;
    font-size:14px!important;
    font-weight:500;
    line-height:1.9!important;
}

.tmd-lpg__price-box{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:22px 18px;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% -15%,rgba(240,207,124,.16),transparent 44%),
        linear-gradient(145deg,#202733 0%,#171d29 100%);
    color:#fff;
    text-align:center;
}

.tmd-lpg__price-box::after{
    content:"";
    position:absolute;
    right:-48px;
    bottom:-72px;
    width:150px;
    height:150px;
    border:1px solid rgba(240,207,124,.08);
    border-radius:50%;
    box-shadow:0 0 0 24px rgba(240,207,124,.025),0 0 0 48px rgba(240,207,124,.02);
}

.tmd-lpg__price-label{
    position:relative;
    z-index:1;
    margin-bottom:8px;
    color:#e6d7b6;
    font-size:11px;
    font-weight:800;
}

.tmd-lpg__price-row{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
}

.tmd-lpg__price-box > p,
.tmd-lpg__price-row > p{
    display:contents!important;
    margin:0!important;
    padding:0!important;
}

.tmd-lpg__price-line{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:7px;
    direction:ltr;
    white-space:nowrap;
}

.tmd-lpg__price{
    color:#efc65e!important;
    font-size:clamp(28px,3vw,38px)!important;
    font-weight:900!important;
    line-height:1.08!important;
    letter-spacing:-.6px;
}

.tmd-lpg__unit{
    padding-bottom:3px;
    color:#d5d9df;
    font-size:10px;
    font-weight:800;
    direction:rtl;
}

.tmd-lpg__date{
    position:relative;
    z-index:1;
    margin-top:10px;
    color:#9ea7b5;
    font-size:10px;
    font-weight:600;
    line-height:1.6;
}

.tmd-lpg__price--na{
    max-width:180px;
    color:#f2d89c!important;
    font-size:16px!important;
    line-height:1.5!important;
}

.tmd-lpg__item.is-unavailable .tmd-lpg__price-box{opacity:.91}

.tmd-lpg__footer{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:12px;
    padding:0 5px;
    color:#7a8392;
    font-size:10.5px;
    font-weight:600;
    line-height:1.75;
}

.tmd-lpg__shield{
    display:inline-flex;
    flex:0 0 16px;
    margin-top:1px;
    color:#b7852b;
}

.tmd-lpg__shield svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:782px){
    .tmd-lpg{margin:24px 0}
    .tmd-lpg__header{padding-right:2px;padding-left:2px}

    .tmd-lpg__item{
        grid-template-columns:44px minmax(0,1fr);
        min-height:0;
        border-radius:19px;
    }

    .tmd-lpg__item::before{
        right:64px;
        width:92px;
    }

    .tmd-lpg__number{
        grid-row:1 / span 2;
    }

    .tmd-lpg__content{
        padding:22px 18px 18px;
    }

    /* النوع + ماذا يمثل؟ */
    .tmd-lpg__micro-label{
        font-size:14px!important;
        line-height:1.45!important;
    }

    .tmd-lpg__meaning p{
        color:#000000!important;
        font-size:15px!important;
        line-height:1.85!important;
    }

    /* صندوق السعر على الهاتف */
    .tmd-lpg__price-box{
        grid-column:2;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        justify-content:center;
        gap:8px;
        padding:15px 18px 16px;
        direction:rtl;
        text-align:right;
        border-top:1px solid rgba(240,207,124,.12);
    }

    .tmd-lpg__price-label{
        width:100%;
        margin:0!important;
        color:#f0dfbb;
        font-size:11px;
        line-height:1.5;
        text-align:right;
    }

    .tmd-lpg__price-row{
        display:flex;
        flex-direction:row;
        align-items:baseline;
        justify-content:space-between;
        width:100%;
        min-width:0;
        gap:10px;
        direction:rtl;
        margin:0!important;
        padding:0!important;
    }

    .tmd-lpg__price-line{
        flex:0 0 auto;
        display:flex;
        align-items:baseline;
        justify-content:flex-start;
        gap:7px;
        min-width:0;
        width:auto;
        direction:ltr;
        white-space:nowrap;
        margin:0!important;
    }

    .tmd-lpg__price{
        flex:0 0 auto;
        font-size:29px!important;
        line-height:1.1!important;
        white-space:nowrap;
    }

    .tmd-lpg__unit{
        flex:0 0 auto;
        padding-bottom:0;
        font-size:10px;
        line-height:1.4;
        direction:rtl;
        white-space:nowrap;
    }

    .tmd-lpg__date{
        flex:0 0 auto;
        width:auto;
        min-width:0;
        margin:0!important;
        color:#aeb7c5;
        font-size:10px;
        line-height:1.4;
        text-align:left;
        white-space:nowrap;
        direction:rtl;
    }
}

@media (max-width:480px){
    .tmd-lpg__heading{font-size:23px!important}
    .tmd-lpg__subtitle{font-size:13px!important}
    .tmd-lpg__item{grid-template-columns:36px minmax(0,1fr)}
    .tmd-lpg__number{font-size:12px}
    .tmd-lpg__content{padding:21px 14px 16px}
    .tmd-lpg__price-box{
        padding:14px 10px;
        gap:7px;
    }
    .tmd-lpg__price-row{gap:7px}
    .tmd-lpg__price{font-size:24px!important}
    .tmd-lpg__unit{font-size:8px}
    .tmd-lpg__date{font-size:8px}
}

@media (prefers-reduced-motion:reduce){
    .tmd-lpg__item{transition:none}
    .tmd-lpg__item:hover{transform:none}
}


/* =========================================================
   عنوان النوع — نفس القيم حرفياً على البطاقات الأربع
   السهم في العناوين المرتبطة أصبح خارج line-box حتى لا يغيّر line-height
========================================================= */
.tmd-lpg .tmd-lpg__item h3.tmd-lpg__title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 0.7 !important;
}

.tmd-lpg .tmd-lpg__item h3.tmd-lpg__title > .tmd-lpg__title-link {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 0.7 !important;
}

/* =========================================================
   ملاحظة الحد الأعلى للأسعار — تصميم تحريري بسيط
========================================================= */
.tmd-lpg__notice{
    position:relative;
    display:block;
    width:100%;
    margin:0 0 22px;
    padding:4px 22px 4px 22px;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible;
    direction:rtl;
    text-align:right;
}

/* الخط الأحمر العمودي في الجهة اليسرى */
.tmd-lpg__notice::before{
    content:"";
    position:absolute;
    left:0;
    top:2px;
    bottom:2px;
    width:4px;
    border-radius:999px;
    background:#e11d2e;
}

.tmd-lpg__notice p{
    margin:0!important;
    padding:0!important;
    color:#26221d!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.9!important;
    text-align:right!important;
}

@media (max-width:782px){
    .tmd-lpg__notice{
        margin:0 0 18px;
        padding:2px 16px 2px 20px;
    }

    .tmd-lpg__notice::before{
        width:3px;
    }

    .tmd-lpg__notice p{
        font-size:14px!important;
        line-height:1.85!important;
    }
}

