   /* =========================
        Premium Light-Only Product UI
        ========================= */
        :root{
        --bg: #ffffff;
        --panel: #ffffff;
        --muted: #6b7280;
        --text: #0b1220;
        --soft: #f6f7fb;
        --soft2:#eef1f7;
        --line: #e7eaf1;
        --line2:#dde3ef;
        --shadow: 0 12px 40px rgba(17, 24, 39, .08);
        --shadow2: 0 10px 25px rgba(17, 24, 39, .06);
        --radius: 12px;
        --radius2: 14px;

        --focus: 0 0 0 4px rgba(59,130,246,.18);
        --ease: cubic-bezier(.2,.9,.2,1);
        --ease2: cubic-bezier(.2,.7,.2,1);
        --speed: 200ms;
          --radius-main: 20px;
          --radius-thumb: 14px;
          --shadow-main: 0 28px 70px rgba(17,24,39,.14);

        --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
        --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        }

        

        /* Layout */
        .sp-page{
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        margin-top: 2px ;;
        }

        @media (min-width: 900px){
        .sp-page{
grid-template-columns: 1.10fr .90fr;            gap: 26px;
            padding: 2px 0;
              align-items: start; /* ⬅️ أهم سطر */

        }
        }
/* =========================
   ROOT TOKENS (fallback)
========================= */
:root{
  --radius-main: 16px;
  --radius-thumb: 2px;
  --shadow-main: 0 18px 45px rgba(0,0,0,.12);
}

/* =========================
   BASE
========================= */
.sp-gallery{
  background: transparent;
}

/* =========================
   LAYOUT
========================= */
.sp-gallery__layout{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================
   MAIN IMAGE
========================= */
.sp-gallery__main{
  position: relative;
  flex: 1;
  overflow: hidden;

  /* Mobile */
  aspect-ratio: 1 / 1.1;
  max-height: 400px;
}

@media (min-width: 900px){
  .sp-gallery__layout{
    flex-direction: row;
    gap: 18px; /* توازن أفضل */
    align-items: flex-start;
  }

  .sp-gallery__main{
    aspect-ratio: 3 / 4;
    max-height: 680px;
    width: 100% !important;
   }
}

.sp-gallery__img{
  width: 100%;
  
  object-fit:  contain;
 
  transition: opacity .25s ease, transform .25s ease;

  touch-action: pan-y;
  -webkit-user-drag: none;
  user-select: none;
}

/* =========================
   NAV BUTTONS (BASE)
========================= */
.sp-gallery__nav{
  position: absolute;
  top: 50%;
  left: 14px;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;

  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.sp-gallery__btn{
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);

  /* 👇 الحل */
  display: grid;
  place-items: center;

  transform: translateY(4px);
  transition: transform .25s ease, background .25s ease;
}


/* =========================
   NAV – DESKTOP HOVER ONLY
========================= */
@media (min-width: 900px){
  .sp-gallery__main:hover .sp-gallery__nav{
    opacity: 1;
  }

  .sp-gallery__main:hover .sp-gallery__btn{
    transform: translateY(0);
  }
}

/* =========================
   NAV – MOBILE HIDDEN
========================= */
@media (max-width: 899px){
  .sp-gallery__nav{
    display: none;
  }
}

/* =========================
   THUMBNAILS – MOBILE
========================= */
.sp-gallery__thumbs{
  display: none;
}

/* =========================
   THUMBNAILS – DESKTOP
   FINAL BALANCED SIZE
========================= */
@media (min-width: 900px){

  .sp-gallery__thumbs{
    display: grid;
    width: 58px;        /* ⬅ أصغر ومتوازن */
    gap: 10px;
  }

  .sp-thumb{
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: var(--radius-thumb);
    overflow: hidden;
    
  }

  .sp-thumb img{
    width: 100%;
    aspect-ratio: 1 / 1.35; /* أنحف شوي */
    object-fit: cover;

    border-radius: var(--radius-thumb);
    background: #f5f6f8;
 
    opacity: .55;
    transition:
      opacity .25s ease,
      transform .25s ease,
      box-shadow .25s ease;
  }

  .sp-thumb:hover img{
    opacity: .85;
    transform: translateY(-1px);
  }

  .sp-thumb[aria-selected="true"] img{
    opacity: 1;
    
      ;border: solid 2px #000;
  }
}
 

/* =========================
   MOBILE DOTS – MODERN
========================= */
.sp-gallery__dots{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.095);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* dot base */
.sp-gallery__dot{
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.374);
  transition:
    width .28s ease,
    background .28s ease,
    opacity .28s ease,
    transform .28s ease;
  opacity: .85;
}

/* active dot = pill */
.sp-gallery__dot.is-active{
   background: #ffffffc5;
  opacity: 1;
}

/* optional hover / touch feedback */
@media (hover: hover){
  .sp-gallery__dot:hover{
    opacity: 1;
  }
}


@media (min-width: 900px){
  .sp-gallery__dots{
    display: none;
  }
}















  .sp-ico{
        width: 18px; height: 18px;
        fill: none;
        stroke: #111827;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        }




        
        /* Product Panel */
        .sp-panel{
        background: var(--panel);
         border-radius: var(--radius);
         padding: 5px;
        }

        @media (min-width: 900px){
        .sp-panel{
            padding: 0px;
            position: sticky;
            top: 85px;
        }
        }

        .sp-header{
        display: grid;
        gap: 10px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line);
        margin-bottom: 14px;
        }

        .sp-footer{
       
        padding: 10px 0 ;;
        padding-top: 19px ;;
        }
 /* =========================
   SP Footer Mobile (Base)
========================= */

.sp-footer-mobile{
  padding: 10px 0;
  padding-top: 19px;
}

/* ترتيب الأزرار */
.sp-footer-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

/* زر إضافة للسلة (ديسكتوب = 100%) */
.add-to-cart-main{
  width:100%;
  flex: 1 1 100%;
}

/* زر الرجوع مخفي افتراضياً (ديسكتوب) */
.btn-back-mobile{
  display:none;
  border:none;
 background: none;;   color:#111;
  height:48px;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}

/* =========================
   Mobile Only
========================= */
@media (max-width:768px){

  .sp-footer-mobile{
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    width:100%;
    background:#fff;
    padding:7px 16px;
    z-index:999;
    border-top:1px solid #eee;
  }

  /* RTL: زر الرجوع يمين */
  .sp-footer-actions{
    flex-direction:row-reverse;
  }

  /* 80% زر السلة */
  .add-to-cart-main{
    flex: 0 0 90%;
    width:auto;
    height:48px;
    border-radius:12px;
  }

  /* 20% زر الرجوع */
  .btn-back-mobile{
    display:flex;
    flex: 0 0 10%;
  }

} 
 /* Container */
.jg-product-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-family: "Cairo", sans-serif; /* أو خطك الأساسي */
}

 

/* البادج */
.jg-trend-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:3px 9px;
    border-radius:2px 2px 2px 9px ;

    background:#f59e0b; /* لون joGoods */
    color:#fff;

    font-size:12px;
    font-weight:400;
    line-height:1.2;

    white-space:nowrap;
}

/* السطر الثاني */
.jg-product-sub{
    margin-top:6px;
    font-size:13px;
    color:#666;
    font-weight:400;
}


        .sp-title{
        font-size: 16px ;
        letter-spacing: -0.02em;
        line-height: 1.15;
        margin: 0;
        font-weight: 400;
         display:flex;
    align-items:center;
    gap:8px;

        
         }

        .sp-subline{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        color: var(--muted);
        font-size: 13px;
        }

        .sp-chip{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 10px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: #fff;
        color: #111827;
        font-size: 12px;
        }

        .sp-chip span{
        
        font-size: 11px;
        color: #374151;
        background: var(--soft);
        border: 1px solid var(--line);
        padding: 2px 6px;
        border-radius: 8px;
        }

        .sp-priceRow{
        display: flex;
        justify-content: space-between;
        align-items: end;
        gap: 12px;
        }

        .sp-price{
        display: grid;
        gap: 2px;
        }

        .sp-price__now{
        font-size: 20px;
        font-weight: 750;
        letter-spacing: -0.02em;
         }

        .sp-price__meta{
         font-size: 12px;
         color: var(--muted);
        }

        .sp-metaRight{
        text-align: right;
        font-size: 12px;
        color: var(--muted);
        display: grid;
        gap: 2px;
        }
        .labels{
        font-size: 12px;
        color: var(--muted);
        display: grid;
        margin-top: 8px ;
        }

        /* Sections */
        .sp-section{
        padding-top: 5px;
        display: grid;
        gap: 10px;
         }
         .line-height{
    width:100%;
    height:1px;
    border-bottom: solid 1px #eee;
    margin-top: 10px ;;
 }

        .sp-section__head{
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        }

        .sp-label{
        font-size: 13px;
        color: #111827;
        font-weight: 650;
        letter-spacing: -0.01em;
        }

        .sp-hint{
        font-size: 12px;
        color: var(--muted);
        }

  /* =========================
   Pills (Clean & Light)
========================= */

.sp-pills{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sp-color-dot{
width:14px;
height:14px;
border-radius:50%;
border:1px solid #ddd;
display:inline-block;
margin-inline-end:6px;
vertical-align:middle;
}

.sp-pill-label{
vertical-align:middle;
}

.sp-pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 13px;
 
    border-radius: 999px;
    border: 1.5px solid var(--line);

    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
    user-select: none;

    transition:
        border-color .15s ease,
        background .15s ease;
}

/* Hover – subtle */
.sp-pill:hover{
    border-color: #da3559; /* joGoods primary */
}

/* Active click */
.sp-pill:active{
    background: #fde7ec; /* soft joGoods */
}

/* Keyboard focus */
.sp-pill:focus-visible{
    outline: none;
    border-color: #da3559;
}

/* ✅ SELECTED – joGoods style */
.sp-pill[aria-pressed="true"]{
    border-color: #da3559;   /* primary */
    background: #fde7ec;     /* light brand */
    color: #b02244;          /* darker tone for contrast */
}
/* Disabled */
.sp-pill.is-disabled,
.sp-pill[aria-disabled="true"]{
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #fff;
}






        .sp-swatch{
        width: 16px; height: 16px;
        border-radius: 999px;
        border: 1px solid rgba(17,24,39,.12);
        box-shadow: inset 0 0 0 2px rgba(255,255,255,.75);
        flex: 0 0 auto;
        }

        /* Select (optional) */
        .sp-select{
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #fff;
        padding: 10px 12px;
        font-size: 14px;
        transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
        }
        .sp-select:focus{ outline: none; border-color: #c7d2fe; box-shadow: var(--focus); }

        /* Quantity */
        .sp-qty{
        display: grid;
        grid-template-columns: 54px 1fr 54px;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        min-height: 50px;
        }

        .sp-qty__btn{
        border: 0;
        background: #fff;
        cursor: pointer;
        display: grid;
        place-items: center;
        transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
        }
        .sp-qty__btn:hover{ background: var(--soft); }
        .sp-qty__btn:active{ transform: scale(.98); }
        .sp-qty__btn:focus-visible{ outline: none; box-shadow: inset var(--focus); }

        .sp-qty__input{
        width: 100%;
        border: 0;
        text-align: center;
        font-size: 15px;
        font-weight: 650;
        color: #111827;
        background: #fff;
        }
        .sp-qty__input:focus{ outline: none; }

        .sp-note{
        margin-top: 2px;
        font-size: 12px;
        color: var(--muted);
        line-height: 1.5;
        }

        /* Bottom summary row (no CTA) */
        .sp-summary{
        margin-top: 16px;
        border-top: 1px solid var(--line);
        padding-top: 14px;
        display: grid;
        gap: 10px;
        }

        .sp-kv{
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
        color: #111827;
        }
        .sp-kv span{ color: var(--muted); }

        .sp-divider{
        height: 1px;
        background: var(--line);
        border: 0;
        margin: 6px 0;
        }

        /* Tiny helper */
        .sr-only{
        position:absolute;
        width:1px;height:1px;
        padding:0;margin:-1px;
        overflow:hidden;clip:rect(0,0,0,0);
        white-space:nowrap;border:0;
        }
            /* =========================
        Premium Product Tabs (Mobile-first)
        ========================= */

  
        
        :root{
        --pt-bg: #ffffff;
        --pt-panel: #ffffff;
        --pt-ink: #0b0d12;
        --pt-muted: #5b6472;
        --pt-line: rgba(15, 18, 25, .10);
        --pt-line2: rgba(15, 18, 25, .08);
        --pt-soft: rgba(15, 18, 25, .04);
        --pt-shadow: 0 18px 40px rgba(10, 20, 40, .10);
        --pt-shadow2: 0 10px 24px rgba(10, 20, 40, .10);
        --pt-radius: 14px;;
        --pt-radius-lg: 22px;

        --pt-accent: #111827;   /* elegant dark */
        --pt-accent2: #0f172a;
        --pt-success: #0f766e;  /* muted teal */
        --pt-warn: #b45309;     /* muted amber */
        --pt-danger: #b91c1c;

        --pt-focus: 0 0 0 4px rgba(17, 24, 39, .12);

        --pt-fs-13: 13px;
        --pt-fs-14: 14px;
        --pt-fs-15: 15px;
        --pt-fs-16: 16px;
        --pt-fs-18: 18px;
        --pt-fs-20: 20px;

        --pt-space-8: 8px;
        --pt-space-10: 10px;
        --pt-space-12: 12px;
        --pt-space-14: 14px;
        --pt-space-16: 16px;
        --pt-space-18: 18px;
        --pt-space-20: 20px;
        --pt-space-24: 24px;
        --pt-space-28: 28px;
        --pt-space-32: 32px;

        --pt-tap: 44px;
        }

    

        .pt-card{
        background: var(--pt-panel);
         border-radius: var(--pt-radius-lg);
         overflow: hidden;
        }

        /* Header: title + trust signals */
        .pt-head{
        padding: var(--pt-space-18) var(--pt-space-18) var(--pt-space-16);
        
        }

        .pt-kicker{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--pt-space-12);
        flex-wrap: wrap;
        }

        .pt-title{
        margin: 0;
        font-size: clamp(18px, 2.8vw, 20px);
        letter-spacing: -0.02em;
        line-height: 1.2;
        }

        .pt-badges{
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        }

        .pt-badge{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.75);
        color: var(--pt-muted);
        font-size: var(--pt-fs-13);
        user-select: none;
        backdrop-filter: blur(8px);
        }

        .pt-badge svg{ width: 16px; height: 16px; opacity: .9; }

        /* Sticky tabs (mobile-first) */
        .pt-tabs{
        position: sticky;
        top: 0;
        z-index: 30;
        background: rgba(255,255,255,.82);
        backdrop-filter: blur(10px);
          }

        .pt-tabs-inner{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0px 12px;
        }
        .pt-tab{
    position: relative;
    height: var(--pt-tap);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 16px;
    border-radius: 14px;
    border: none;

    background: rgba(255,255,255,.9);
    color: var(--pt-muted);

    font-size: var(--pt-fs-14);
    font-weight: 650;
    letter-spacing: -0.01em;

    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .12s ease;
}

.pt-tab:active{
    transform: scale(.99);
}

.pt-tab:focus{
    outline: none;
}

 /* =========================
   joGoods Tabs Styling
========================= */

/* Underline accent */
.pt-tab::after{
    content: "";
    position: absolute;
    left: 5%;
    right: 0%;
    bottom: 0px;

    height: 2.5px;
    border-radius: 2px;

    background: #da3559; /* joGoods primary */
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .25s ease, transform .25s ease;
}

/* Active tab */
.pt-tab[aria-selected="true"]{
    background: transparent;
    border-color: transparent;
    color: #da3559; /* بدل var(--pt-ink) */
    font-weight: 600;
}

/* Show underline when active */
.pt-tab[aria-selected="true"]::after{
    opacity: 1;
    transform: scaleX(1);
}

/* Count badge active */
.pt-tab[aria-selected="true"] .pt-count{
    background: rgba(218,53,89,.10);   /* Soft pink bg */
    border-color: rgba(218,53,89,.25);
    color: #da3559;
}

 
        .pt-tab .pt-count{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 23px;
        height: 22px;
        padding: 0 4px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(15,18,25,.1);
        color: var(--pt-muted);
        font-size: 12px;
        font-weight: 700;
        }

      

        /* Content area */
        .pt-body{
        padding: 0px 0;
        display: grid;
        gap: 18px;
        }

        .pt-panel{
        display: none;
        animation: ptFadeUp .22s ease both;
        }
        .pt-panel.is-active{ display: block; }

        @keyframes ptFadeUp{
        from{ opacity: 0; transform: translateY(6px); }
        to{ opacity: 1; transform: translateY(0); }
        }

        /* Description typography */
        .pt-prose{
        color: var(--pt-ink);
        font-size: var(--pt-fs-15);
        line-height: 1.85;
        letter-spacing: -0.01em;
        }
        .pt-prose p{ margin: 0 0 12px; color: var(--pt-ink); }
        .pt-prose ul{ margin: 10px 0 12px 18px; padding: 0; }
        .pt-prose li{ margin: 6px 0; color: var(--pt-ink); }
        .pt-prose h3{
        margin: 14px 0 10px;
        font-size: var(--pt-fs-18);
        letter-spacing: -0.02em;
        }
        .pt-muted{ color: var(--pt-muted); }

        /* Reviews layout: summary + form + list */
        .pt-reviews-grid{
        display: grid;
        gap: 14px;
        }

        /* Summary card */
        .pt-summary{
        border-top: 1px solid var(--pt-line);
         
        padding: 14px;
         
        }

        .pt-summary-top{
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
        }

        .pt-score{
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        align-items: center;
        }

        .pt-score-num{
        width: 84px;
        height: 74px;
        border-radius: 12px;
         background: rgba(218, 53, 89, 0.08);   
    border-color: rgba(218, 53, 89, 0.35);  
        display: grid;
        place-items: center;
         }
        .pt-score-num strong{
        font-size: 30px;
        letter-spacing: -0.03em;
        line-height: 1;
        color: #da3559;
        }
        .pt-score-num span{
        font-size: 12px;
        color: #da3559;
        margin-top: 3px;

        }

        .pt-score-meta{
        display: grid;
        gap: 6px;
        }
        .pt-score-meta h4{
        margin: 0;
        font-size: var(--pt-fs-16);
        letter-spacing: -0.02em;
        }
        .pt-score-meta p{
        margin: 0;
        font-size: var(--pt-fs-14);
        color: var(--pt-muted);
        line-height: 1.5;
        }

        /* Stars (display) */
        .pt-stars{
        display: inline-flex;
        gap: 4px;
        align-items: center;
        }
        .pt-stars svg{ width: 20px; height: 20px; }
        .pt-star-on{ fill: rgba(17,24,39,.92); }
        .pt-star-off{ fill: rgba(15,18,25,.18); }

        /* Distribution bars */
        .pt-dist{
        display: grid;
        gap: 8px;
        margin-top: 12px;
        }
        .pt-dist-row{
        display: grid;
        grid-template-columns: 46px 1fr 40px;
        gap: 10px;
        align-items: center;
        font-size: 13px;
        color: var(--pt-muted);
        }
        .pt-bar{
        height: 8px;
        border-radius: 999px;
        background: rgba(15,18,25,.06);
        overflow: hidden;
         }
        .pt-bar > i{
        display: block;
        height: 100%;
        width: 0%;
        background: #da3559;
        border-radius: 999px;
        transition: width .5s ease;
        }

        /* Tools row: sort + filter */
        .pt-tools{
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 12px;
        }

        .pt-chip{
        height: 40px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.9);
        color: var(--pt-muted);
        font-size: 13px;
        font-weight: 650;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        user-select: none;
        transition: transform .12s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
        -webkit-tap-highlight-color: transparent;
        }
        .pt-chip:active{ transform: scale(.99); }
        .pt-chip[aria-pressed="true"]{
        background: rgba(17,24,39,.06);
        border-color: rgba(17,24,39,.20);
        color: var(--pt-ink);
        }

        .pt-select{
        height: 40px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.9);
        padding: 0 12px;
        font-size: 13px;
        color: var(--pt-ink);
        outline: none;
        min-width: 170px;
        }
        .pt-select:focus{ //box-shadow: var(--pt-focus); }

        /* Review composer (premium form) */
        .pt-compose{
        border: 1px solid var(--pt-line);
        border-radius: var(--pt-radius);
        background: var(--pt-panel);
        overflow: hidden;
         }

        .pt-compose-head{
        padding: 14px 14px 12px;
        border-bottom: 1px solid var(--pt-line2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
         }

        .pt-compose-head h3{
        margin: 0;
        font-size: var(--pt-fs-16);
        letter-spacing: -0.02em;
        }

        .pt-compose-body{
        padding: 14px;
        display: grid;
        gap: 12px;
        }

        .pt-field{
        display: grid;
        gap: 8px;
        }

        .pt-label{
        font-size: 13px;
        font-weight: 750;
        letter-spacing: -0.01em;
        color: var(--pt-ink);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        }

        .pt-hint{
        font-size: 12px;
        color: var(--pt-muted);
        font-weight: 600;
        }

        .pt-input, .pt-textarea{
        width: 100%;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.92);
        border-radius: 14px;
        padding: 12px 12px;
        font-size: var(--pt-fs-15);
        color: var(--pt-ink);
        outline: none;
        transition: box-shadow .2s ease, border-color .2s ease, transform .12s ease;
        }

        .pt-textarea{
        min-height: 120px;
        resize: vertical;
        line-height: 1.6;
        }

        .pt-input:focus, .pt-textarea:focus{
        //box-shadow: var(--pt-focus);
        border-color: rgba(17, 24, 39, .28);
        }

        /* Rating input (big-company style) */
        .pt-rate{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--pt-line);
         }

        .pt-rate-left{
        display: grid;
        gap: 3px;
        }
        .pt-rate-left strong{
        font-size: 13px;
        letter-spacing: -0.01em;
        }
        .pt-rate-left span{
        font-size: 12px;
        color: var(--pt-muted);
        }

        .pt-star-input{
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px;
        border-radius: 999px;
        border: 1px solid rgba(15,18,25,.08);
        background: rgba(255,255,255,.86);
        }

        .pt-star-btn{
        width: 36px;
        height: 36px;
        border-radius: 12px;
        border: 1px solid transparent;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: transform .12s ease, background .2s ease, border-color .2s ease;
        -webkit-tap-highlight-color: transparent;
        background: transparent;
        }
        .pt-star-btn:active{ transform: scale(.98); }
        .pt-star-btn:focus{ outline: none; //box-shadow: var(--pt-focus); }
        .pt-star-btn svg{ width: 18px; height: 18px; fill: rgba(15,18,25,.22); }

       .pt-star-btn.is-on{
    background: rgba(218, 53, 89, 0.08);   /* خلفية خفيفة من لون البراند */
    border-color: rgba(218, 53, 89, 0.35); /* إطار أوضح */
}

.pt-star-btn.is-on svg{
    fill: #da3559; /* اللون الأساسي */
    color: #da3559; /* اللون الأساسي */
}

        .pt-rate-value{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--pt-muted);
        font-weight: 700;
        }

        /* Upload zone */
        .pt-upload{
        border: 1px dashed rgba(15,18,25,.22);
         border-radius: 16px;
        padding: 12px;
        display: grid;
        gap: 10px;
        }

        .pt-upload-top{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        }

        .pt-upload-title{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--pt-ink);
        font-weight: 750;
        letter-spacing: -0.01em;
        }

        .pt-btn{
        height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        border: 1px solid rgba(17,24,39,.18);
        background: rgba(17,24,39,.06);
        color: var(--pt-ink);
        font-size: 13px;
        font-weight: 750;
        letter-spacing: -0.01em;
        cursor: pointer;
        transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
        -webkit-tap-highlight-color: transparent;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
        user-select: none;
        }
        .pt-btn:active{ transform: scale(.99); }
        .pt-btn:focus{ outline: none; //box-shadow: var(--pt-focus); }

        .pt-btn--primary{
        background: rgba(17,24,39,.92);
        border-color: rgba(17,24,39,.92);
        color: #fff;
         }
        .pt-btn--primary:hover{ background: rgba(17,24,39,.98); }

        .pt-btn--ghost{
        background: rgba(255,255,255,.92);
        border-color: var(--pt-line);
        color: var(--pt-ink);
        }

        .pt-upload input[type="file"]{ display: none; }

        .pt-preview{
        display: none;
        grid-template-columns: 76px 1fr auto;
        gap: 10px;
        align-items: center;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.86);
        }
        .pt-preview.is-show{ display: grid; }

        .pt-thumb{
        width: 76px;
        height: 56px;
        border-radius: 12px;
        border: 1px solid rgba(15,18,25,.10);
        background: rgba(15,18,25,.04);
        overflow: hidden;
        display: grid;
        place-items: center;
        }
        .pt-thumb img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        }

        .pt-filemeta{
        display: grid;
        gap: 2px;
        min-width: 0;
        }
        .pt-filemeta strong{
        font-size: 13px;
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }
        .pt-filemeta span{
        font-size: 12px;
        color: var(--pt-muted);
        }

        .pt-icon-btn{
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.92);
        cursor: pointer;
        display: grid;
        place-items: center;
        transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
        -webkit-tap-highlight-color: transparent;
        }
        .pt-icon-btn:active{ transform: scale(.99); }
        .pt-icon-btn:focus{ outline: none; //box-shadow: var(--pt-focus); }
        .pt-icon-btn svg{ width: 18px; height: 18px; fill: rgba(15,18,25,.55); }

        /* Footer actions */
        .pt-compose-foot{
        padding: 12px 14px 14px;
        border-top: 1px solid var(--pt-line2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        background: rgba(255,255,255,.92);
        }

        .pt-counter{
        font-size: 12px;
        color: var(--pt-muted);
        font-weight: 650;
        }

        /* Reviews list */
        .pt-list{
        display: grid;
        gap: 12px;
        margin-top: 2px;
        }

        .pt-review{
        border: 1px solid var(--pt-line);
        border-radius: var(--pt-radius);
        background: rgba(255,255,255,.96);
        overflow: hidden;
         }

        .pt-review-top{
        padding: 9px 12px;
        display: grid;
        gap: 10px;
        border-bottom: 1px solid var(--pt-line2);
         }

        .pt-review-meta{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        }

        .pt-user{
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        }

        .pt-avatar{
        width: 40px;
        height: 40px;
        border-radius: 50px;
        border: 1px solid rgba(15,18,25,.10);
        background: rgba(15,18,25,.06);
        display: grid;
        place-items: center;
        font-weight: 800;
        color: rgba(15,18,25,.70);
        letter-spacing: -0.02em;
        user-select: none;
        flex: 0 0 auto;
        }

        .pt-userinfo{
        display: grid;
        gap: 2px;
        min-width: 0;
        }
        .pt-userinfo strong{
        font-size: 13px;
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }
        .pt-userinfo span{
        font-size: 12px;
        color: var(--pt-muted);
        }

        .pt-review-badges{
        display: inline-flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
        }

        .pt-pill{
        height: 30px;
        padding: 0 10px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.85);
        font-size: 12px;
        font-weight: 750;
        color: var(--pt-muted);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        user-select: none;
        }

        .pt-pill--verified{
        border-color: rgba(15, 118, 110, .22);
        background: rgba(15, 118, 110, .06);
        color: rgba(15, 118, 110, .95);
        }

        .pt-review-body{
        padding: 5px 14px;
        display: grid;
        gap: 12px;
        }

        .pt-review-text{
        margin: 0;
        font-size: var(--pt-fs-15);
        line-height: 1.75;
        color: var(--pt-ink);
        letter-spacing: -0.01em;
        }

        .pt-review-media{
        display: grid;
        gap: 10px;
        }

        .pt-media-grid{
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 10px;
        }

        .pt-media{
        border-radius: 16px;
        border: 1px solid rgba(15,18,25,.10);
        background: rgba(15,18,25,.04);
        overflow: hidden;
        aspect-ratio: 4 / 3;
        cursor: pointer;
        transition: transform .15s ease, box-shadow .2s ease;
        }
        .pt-media:hover{
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(10, 20, 40, .12);
        }
        .pt-media img{
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        }
.pt-action.is-voted{
opacity:.6;
cursor:not-allowed;
}
.pt-action.is-reported{
opacity:.6;
cursor:not-allowed;
}


        .pt-review-foot{
        padding: 10px 14px 10px;
        border-top: 1px solid var(--pt-line2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        background: rgba(255,255,255,.96);
        }

        .pt-actions{
        display: inline-flex;
        gap: 10px;
        flex-wrap: wrap;
        }

        .pt-action{
        height: 38px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--pt-line);
        background: rgba(255,255,255,.92);
        color: var(--pt-muted);
        font-size: 13px;
        font-weight: 750;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: transform .12s ease, background .2s ease, border-color .2s ease, color .2s ease;
        -webkit-tap-highlight-color: transparent;
        }
        .pt-action:active{ transform: scale(.99); }
        .pt-action:focus{ outline: none; //box-shadow: var(--pt-focus); }
        .pt-action[aria-pressed="true"]{
        color: var(--pt-ink);
        background: rgba(17,24,39,.06);
        border-color: rgba(17,24,39,.20);
        }

        /* Simple lightbox */
        .pt-lightbox{
        position: fixed;
        inset: 0;
        background: rgba(10, 12, 18, .72);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 18px;
        z-index: 9999;
        }
        .pt-lightbox.is-open{ display: flex; }
        .pt-lightbox-inner{
        width: min(920px, 100%);
        background: rgba(255,255,255,.96);
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0,0,0,.35);
        transform-origin: center;
        animation: ptZoom .18s ease both;
        }
        @keyframes ptZoom{
        from{ transform: scale(.98); opacity: 0; }
        to{ transform: scale(1); opacity: 1; }
        }
        .pt-lightbox-top{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 4px 12px;
        border-bottom: 1px solid rgba(15,18,25,.10);
        background: rgba(255,255,255,.92);
        }
        .pt-lightbox-top strong{
        font-size: 13px;
        color: var(--pt-ink);
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70vw;
        }
        .pt-lightbox-img{
        width: 100%;
        display: block;
        max-height: 80vh;
        object-fit: contain;
        background: rgba(15,18,25,.02);
        }

        /* Small screens refinements */
        @media (max-width: 520px){
        .pt-head{ padding: 16px 14px 14px; }
         .pt-tabs-inner{ padding: 0px; gap: 8px; }
        .pt-tab{ border-radius: 14px; font-size: 13px; }
        .pt-score-num{ width: 76px; height: 72px; }
        .pt-score-num strong{ font-size: 28px; }
        .pt-media-grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
        .pt-select{ min-width: 100%; }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce){
        *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
        }

        .sp-share-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px ;;
}


        .sp-share{
  --share-color: #111827; /* غيّر اللون من هنا فقط */
  display: flex;
  align-items: center;
  gap: 10px;
  
}

 


.sp-share__btn{
  width: 35px;
  height: 35px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: var(--share-color);
  transition: 
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.sp-share__btn svg{
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.sp-share__btn:hover{
  background: rgba(0,0,0,.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.sp-share__btn:active{
  transform: translateY(0);
}

.sp-share__btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.15);
}


.store-header-card {
    background: #fff;
   padding-top: 10px ;;   
  margin-top: 10px ;;   
   display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Top Section */
.store-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.store-badge {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.store-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.store-stats {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.store-stats strong {
    color: #111;
}

/* Logo */
.store-logo {
    width: 56px;
    height: 56px;
    background: #f8f8f8;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
        border-radius: 6px;

}
/* Logo */
.store-logo img{
 width:100%;
  height:100%;
  object-fit:cover;       border-radius: 6px;

  display:block;}


/* Meta */
.store-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #555;
}

.meta-item strong {
    color: #111;
}

.meta-item.positive strong {
    color: #da3559;
}

 
 

/* Responsive */
@media (max-width: 768px) {

    .store-header-top {
         align-items: flex-start;
        gap: 12px;
    }

    .store-meta {
        flex-direction: column;
        gap: 6px;
    }

    .store-actions {
        flex-direction: column;
    }
}


/* إعدادات عامة */
  .shipping-card {
    background-color: #f8f9fa; /* لون الخلفية من الصورة */
    padding: 16px 20px;
    font-family: sans-serif; /* خط النظام الافتراضي */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 2px ;;
    user-select: none;
    cursor: pointer;
   }

  .content-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* السطر الأول: العنوان */
  .title-row {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
  }

  .country {
    margin-right: 4px;
    font-weight: 400;
  }

   .details-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
        align-items: center;   /* توسيط عمودي */

  }
 
  /* تنسيق أيقونة الشاحنة SVG */
  .icon-truck {
    width: 20px;
    height: 20px;
     flex-shrink: 0;
      color: forestgreen;
  }

  .text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
  }

  .price-info {
    font-size: 15px;
    color: #000;
    font-weight: 500;
  }

  .price-info strong {
    font-weight: 800;
  }

  .delivery-time {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
  }

   .icon-arrow {
    width: 12px;
    height: 12px;
    stroke: #555;
     fill: none;
  }


.ship-list{
  width:100%;
  border:1px solid rgba(16,17,20,.08);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}

.ship-item{
  padding:10px 14px;
  border-bottom:1px solid rgba(16,17,20,.06);
}

.ship-item:last-child{
  border-bottom:none;
}

.ship-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:4px;
}

.ship-region{
  font-weight:700;
  font-size:15px;
}

.ship-price{
  font-size:15px;
  font-weight:700;
  color:#da3559;
}

.ship-cities{
  font-size:12.5px;
  color:#666;
  line-height:1.5;
  text-align: right
}

.pt-star-on{
color:#da3559;
fill:#da3559;
}

.pt-star-off{
color:#dcdcdc;
fill:#dcdcdc;
}.pt-alert{
padding:12px 14px;
border-radius:10px;
margin-bottom:16px;
font-size:14px;
}

.pt-alert-error{
background:#ffe9e9;
color:#b42318;
border:1px solid #fecdcd;
}

.pt-alert-success{
background:#ecfdf3;
color:#067647;
border:1px solid #abefc6;
}


.jg-rating-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-inline-start:auto;

   
}

 