:root{
    --ujudi-blue:#1E40AF;
    --ujudi-blue2:#1D4ED8;
    --ujudi-orange:#F47C20;
    --ujudi-orange2:#E06A0F;
    --ujudi-orange-soft:#F5AE72;

    --bg:#F2F4F8;
    --card:#fff;
    --stroke:#E6EAF5;
    --text:#111827;
    --muted:#6b7280;
    --shadow:0 4px 14px rgba(17,24,39,.06);
    --ui:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  }

  /* =========================
      Page wrap
  ========================= */
  .mall-wrap{
    width:100%;
    background:var(--bg);
    font-family:var(--ui);
  }

  .mall-inner{
    padding:0 16px 24px;
  }

  /* ===== Hero banner (full bleed) ===== */
  .mall-hero{
    width:100%;
    line-height:0;
  }
  .mall-hero img{
    width:100%;
    height:auto;
    display:block;
  }

  /* ===== Full-width section bars ===== */
  .mall-section-bar{
    width:100%;
    background:var(--ujudi-orange);
    color:#fff;
    font:800 20px/1.2 var(--ui);
    letter-spacing:.2px;
    padding:16px 16px;
    margin:0 0 18px;
  }

  /* =========================
      Steps
  ========================= */
  .steps-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px;
    align-items:stretch;
    margin-bottom:28px;
  }

  .step-card{
    background:var(--card);
    border:1px solid var(--stroke);
    border-radius:14px;
    box-shadow:var(--shadow);
    padding:18px 16px 20px;
    text-align:center;
  }

  .step-top{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:12px;
  }

  .step-badge{
    box-sizing:border-box;
    width:52px;
    height:52px;
    border-radius:999px;
    background:var(--ujudi-blue);
    border:3px solid var(--ujudi-orange);
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 52px;
    box-shadow:0 6px 14px rgba(30,64,175,.16);
    overflow:hidden;
  }

  .step-badge img,
  .step-badge svg{
    width:26px;
    height:26px;
    object-fit:contain;
    display:block;
  }

  .step-step{
    font-size:19px;
    font-weight:900;
    color:var(--ujudi-blue);
    letter-spacing:.4px;
    text-transform:uppercase;
    line-height:1.1;
  }

  .step-title{
    font-size:15px;
    font-weight:900;
    color:var(--ujudi-orange);
    text-transform:uppercase;
    line-height:1.2;
    margin-bottom:6px;
  }

  .step-desc{
    font-size:13px;
    color:var(--muted);
    line-height:1.4;
    margin:0;
  }

  /* =========================
      Catalogue top tab nav
  ========================= */
  .mall-tabs{
    display:flex;
    gap:4px;
    background:#fff;
    border-bottom:1px solid var(--stroke);
    padding:0 16px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .mall-tabs::-webkit-scrollbar{ display:none; }

  .tab-item{
    flex:0 0 auto;
    position:relative;
    border:0;
    background:transparent;
    padding:18px 16px 16px;
    font:600 16px/1 var(--ui);
    color:#4b5563;
    letter-spacing:.1px;
    white-space:nowrap;
    cursor:pointer;
    transition:color .15s ease;
  }
  .tab-item:hover{ color:var(--text); }

  .tab-item::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:-1px;
    height:3px;
    background:var(--ujudi-orange);
    border-radius:3px 3px 0 0;
    opacity:0;
    transform:scaleX(.5);
    transition:opacity .18s ease, transform .18s ease;
  }
  .tab-item.is-active{
    color:var(--text);
    font-weight:800;
  }
  .tab-item.is-active::after{ opacity:1; transform:scaleX(1); }
  .tab-item.is-empty{ color:#a3abba; }

  /* ===== Breadcrumb ===== */
  .mall-crumb{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    padding:18px 16px 14px;
    font-size:15px;
    color:var(--muted);
  }
  .mall-crumb a{
    color:var(--muted);
    text-decoration:none;
  }
  .mall-crumb a:hover{ color:var(--ujudi-orange2); text-decoration:none; }
  .mall-crumb span.sep{ color:#c3cade; }
  .mall-crumb b{
    color:var(--text);
    font-weight:600;
  }

  /* =========================
      Catalogue layout: sidebar + grid
  ========================= */
  .mall-layout{
    display:grid;
    grid-template-columns:280px minmax(0, 1fr);
    gap:24px;
    align-items:start;
    padding:0 16px 32px;
  }

  /* ---- Filter sidebar ---- */
  .mall-side{
    background:#fff;
    border-radius:10px;
    box-shadow:var(--shadow);
    position:sticky;
    top:16px;
    overflow:hidden;
  }

  .side-head{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    border:0;
    background:transparent;
    padding:22px 22px 18px;
    cursor:pointer;
    font:inherit;
  }
  .side-burger{
    display:grid;
    gap:3px;
    flex:0 0 auto;
  }
  .side-burger i{
    display:block;
    width:18px;
    height:2.5px;
    border-radius:2px;
    background:var(--ujudi-orange);
  }
  .side-head-txt{
    flex:1 1 auto;
    text-align:left;
    font:700 18px/1 var(--ui);
    letter-spacing:.6px;
    text-transform:uppercase;
    color:var(--ujudi-orange);
  }
  .side-chev{
    width:11px;
    height:11px;
    border-right:2px solid var(--ujudi-orange);
    border-bottom:2px solid var(--ujudi-orange);
    transform:rotate(-135deg);
    transition:transform .2s ease;
    flex:0 0 auto;
  }
  .mall-side.is-collapsed .side-chev{ transform:rotate(45deg); }
  .mall-side.is-collapsed .side-body{ display:none; }

  .side-body{ padding:0 22px 24px; }

  .side-block{
    padding-bottom:22px;
    margin-bottom:6px;
  }

  .side-label{
    font:700 15px/1.2 var(--ui);
    color:var(--text);
    margin-bottom:22px;
  }

  /* ---- Dual point-range slider ---- */
  .pr-slider{
    position:relative;
    height:20px;
    margin:0 8px 10px;
  }
  .pr-track,
  .pr-fill{
    position:absolute;
    top:9px;
    height:3px;
    border-radius:3px;
  }
  .pr-track{ left:0; right:0; background:#e6eaf5; }
  .pr-fill{ background:var(--ujudi-orange); }

  .pr-slider input[type=range]{
    position:absolute;
    top:0;
    left:-8px;
    width:calc(100% + 16px);
    height:20px;
    margin:0;
    background:none;
    pointer-events:none;
    -webkit-appearance:none;
    appearance:none;
  }
  .pr-slider input[type=range]:focus{ outline:0; }
  .pr-slider input[type=range]::-webkit-slider-thumb{
    -webkit-appearance:none;
    pointer-events:auto;
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--ujudi-orange);
    border:0;
    box-shadow:0 1px 4px rgba(244,124,32,.5);
    cursor:pointer;
  }
  .pr-slider input[type=range]::-moz-range-thumb{
    pointer-events:auto;
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--ujudi-orange);
    border:0;
    box-shadow:0 1px 4px rgba(244,124,32,.5);
    cursor:pointer;
  }
  .pr-slider input[type=range]::-moz-range-track{ background:transparent; }

  .pr-vals{
    display:flex;
    justify-content:space-between;
    font-size:13.5px;
    color:var(--text);
    font-weight:600;
  }

  /* ---- Shop by Categories accordion ---- */
  .cat-list{ margin-top:2px; }

  .cat-row{
    display:flex;
    align-items:center;
    border-top:1px solid #f1f3f9;
  }
  .cat-list .cat-row:first-child{ border-top:0; }

  .cat-name{
    flex:1 1 auto;
    display:flex;
    align-items:center;
    gap:8px;
    border:0;
    background:transparent;
    padding:15px 0;
    text-align:left;
    font:600 15.5px/1.2 var(--ui);
    color:var(--text);
    cursor:pointer;
  }
  .cat-name:hover{ color:var(--ujudi-orange2); }
  .cat-row.is-open .cat-name,
  .cat-row.is-current .cat-name{
    color:var(--ujudi-orange);
    font-weight:700;
  }

  .cat-count{
    font-size:11.5px;
    font-weight:800;
    color:var(--muted);
    background:#f1f3f9;
    border-radius:999px;
    padding:2px 7px;
  }
  .cat-count.is-soon{
    background:#fff2df;
    color:var(--ujudi-orange2);
  }

  .cat-toggle{
    flex:0 0 auto;
    width:34px;
    height:44px;
    border:0;
    background:transparent;
    cursor:pointer;
    position:relative;
  }
  .cat-toggle::after{
    content:"";
    position:absolute;
    right:8px;
    top:50%;
    width:8px;
    height:8px;
    margin-top:-6px;
    border-right:2px solid #9aa3b2;
    border-bottom:2px solid #9aa3b2;
    transform:rotate(45deg);
    transition:transform .2s ease, border-color .2s ease;
  }
  .cat-row.is-open .cat-toggle::after{
    transform:rotate(-135deg);
    border-color:var(--ujudi-orange);
  }

  .cat-sub{ display:none; padding:0 0 12px; }
  .cat-sub.is-open{ display:block; }

  .sub-item{
    display:block;
    width:100%;
    border:0;
    background:transparent;
    padding:9px 0 9px 18px;
    text-align:left;
    font:500 14.5px/1.3 var(--ui);
    color:#4b5563;
    cursor:pointer;
  }
  .sub-item:hover{ color:var(--ujudi-orange2); }
  .sub-item.is-all{ color:var(--ujudi-orange); font-weight:700; }
  .sub-item.is-soon{ color:#a3abba; cursor:default; }

  /* =========================
      Main column
  ========================= */
  .mall-main{ min-width:0; }

  .main-bar{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
  }

  /* ---- Search ---- */
  .mall-search{
    position:relative;
    flex:1 1 auto;
    min-width:0;
  }
  .search-shell{
    display:flex;
    align-items:center;
    gap:8px;
    height:44px;
    padding:0 12px 0 14px;
    border:1px solid var(--stroke);
    border-radius:8px;
    background:#fff;
    box-shadow:var(--shadow);
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  .mall-search.is-focus .search-shell{
    border-color:var(--ujudi-orange);
    box-shadow:0 0 0 3px rgba(244,124,32,.14);
  }
  .search-ico{
    width:18px;
    height:18px;
    flex:0 0 18px;
    stroke:var(--muted);
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
  }
  .search-input{
    flex:1 1 auto;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    font:500 14.5px/1.2 var(--ui);
    color:var(--text);
    padding:0;
  }
  .search-input::placeholder{ color:#9aa3b2; }

  .search-clear{
    flex:0 0 auto;
    width:24px;
    height:24px;
    border:0;
    border-radius:999px;
    background:#eef0f6;
    color:var(--muted);
    font:700 14px/1 var(--ui);
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
  }
  .search-clear.is-on{ display:inline-flex; }
  .search-clear:hover{ background:#e2e6f0; color:var(--text); }

  /* ---- Live suggestion dropdown ---- */
  .search-suggest{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 6px);
    background:#fff;
    border:1px solid var(--stroke);
    border-radius:10px;
    box-shadow:0 18px 40px rgba(17,24,39,.16);
    overflow:hidden auto;
    display:none;
    z-index:40;
    max-height:396px;
  }
  .search-suggest.is-open{ display:block; }

  .sug-head{
    font-size:11px;
    font-weight:800;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:var(--muted);
    padding:10px 14px 6px;
  }
  .sug-item{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:8px 14px;
    border:0;
    background:transparent;
    text-align:left;
    cursor:pointer;
    font:inherit;
  }
  .sug-item:hover,
  .sug-item.is-active{ background:#fff7f0; }

  .sug-thumb{
    width:44px;
    height:44px;
    flex:0 0 44px;
    border-radius:6px;
    background:#f6f7fb;
    object-fit:contain;
    display:block;
  }
  .sug-text{ min-width:0; }
  .sug-name{
    display:block;
    font-size:13.5px;
    font-weight:700;
    color:var(--text);
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .sug-name mark{
    background:#ffe6cf;
    color:var(--ujudi-orange2);
    border-radius:3px;
    padding:0 1px;
  }
  .sug-meta{
    display:block;
    font-size:11.5px;
    font-weight:700;
    color:var(--ujudi-orange2);
    line-height:1.3;
    margin-top:2px;
  }
  .sug-meta i{
    font-style:normal;
    color:var(--muted);
    font-weight:500;
  }
  .sug-empty{
    padding:16px 14px;
    font-size:13.5px;
    color:var(--muted);
  }

  /* ---- Sort by ---- */
  .mall-sortwrap{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
  }
  .sort-lbl{
    font-size:15px;
    color:var(--text);
    white-space:nowrap;
  }
  .mall-sort{ position:relative; }
  .mall-sort select{
    appearance:none;
    -webkit-appearance:none;
    height:44px;
    min-width:170px;
    padding:0 36px 0 14px;
    border:1px solid var(--stroke);
    border-radius:8px;
    background:#fff;
    box-shadow:var(--shadow);
    font:500 14.5px/1 var(--ui);
    color:var(--text);
    cursor:pointer;
    outline:0;
  }
  .mall-sort select:focus{
    border-color:var(--ujudi-orange);
    box-shadow:0 0 0 3px rgba(244,124,32,.14);
  }
  .mall-sort::after{
    content:"";
    position:absolute;
    right:15px;
    top:50%;
    width:7px;
    height:7px;
    margin-top:-5px;
    border-right:2px solid var(--muted);
    border-bottom:2px solid var(--muted);
    transform:rotate(45deg);
    pointer-events:none;
  }

  /* ---- Section title + result count ---- */
  .main-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin:0 0 16px;
  }
  .main-title{
    font:700 24px/1.2 var(--ui);
    color:var(--text);
    margin:0;
  }
  .main-meta{
    display:flex;
    align-items:baseline;
    gap:14px;
  }
  .result-count{
    font-size:13.5px;
    color:var(--muted);
  }
  .result-count b{ color:var(--text); font-weight:700; }
  .result-reset{
    border:0;
    background:transparent;
    padding:0;
    font:700 13px/1 var(--ui);
    color:var(--ujudi-orange2);
    cursor:pointer;
    display:none;
  }
  .result-reset.is-on{ display:inline-block; }
  .result-reset:hover{ text-decoration:underline; }

  /* =========================
      Product grid — 4 per row, centered cards
  ========================= */
  .items-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:24px;
    align-items:stretch;
  }

  .mall-card{
    display:flex;
    flex-direction:column;
    height:100%;
    background:var(--card);
    border-radius:10px;
    box-shadow:var(--shadow);
    overflow:hidden;
    text-align:center;
    transition:transform .18s ease, box-shadow .18s ease;
  }
  .mall-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(17,24,39,.12);
  }
  .mall-card.is-hidden{ display:none; }
  .mall-card.is-flash{
    box-shadow:0 0 0 3px var(--ujudi-orange), 0 14px 30px rgba(244,124,32,.24);
  }

  .mall-thumb-wrap{
    position:relative;
    display:block;
    background:#fff;
    padding:26px 20px 12px;
    overflow:hidden;
  }
  .mall-thumb{
    width:100%;
    height:190px;
    object-fit:contain;
    object-position:center;
    display:block;
    transition:transform .35s ease;
  }
  .mall-card:hover .mall-thumb{ transform:scale(1.05); }

  .mall-badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    font:800 10px/1 var(--ui);
    letter-spacing:.5px;
    text-transform:uppercase;
    color:#fff;
    padding:5px 8px;
    border-radius:4px;
  }
  .mall-badge.is-hot{ background:linear-gradient(180deg,#F97316,#DC2626); }
  .mall-badge.is-pop{ background:var(--ujudi-blue2); }
  .mall-badge.is-low{ background:#DC2626; }
  .mall-badge.is-instant{ background:#15803D; }
  .mall-badge.is-soon{ background:#94a3b8; }

  .mall-body{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    padding:6px 18px 24px;
  }

  .mall-cat-tag{
    font:700 10.5px/1 var(--ui);
    letter-spacing:.7px;
    text-transform:uppercase;
    color:#9aa3b2;
    margin-bottom:8px;
  }

  .mall-title{
    font:700 17px/1.35 var(--ui);
    color:var(--text);
    margin-bottom:14px;
    min-height:46px;
  }

  .mall-points{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font:700 16px/1 var(--ui);
    color:var(--ujudi-orange);
    margin-bottom:6px;
  }
  .mall-points img{
    width:17px;
    height:17px;
  }

  .mall-stock{
    font-size:12.5px;
    color:var(--muted);
    margin-bottom:16px;
  }

  .btn-mall-claim{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    align-self:center;
    margin-top:auto;
    min-width:170px;
    padding:11px 22px;
    border-radius:6px;
    font:600 15px/1 var(--ui);
    text-decoration:none;
    color:#fff !important;
    background:var(--ujudi-orange);
    border:0;
    transition:background .15s ease, transform .15s ease;
  }
  .btn-mall-claim:hover{
    background:var(--ujudi-orange2);
    transform:translateY(-1px);
    text-decoration:none;
  }
  .btn-mall-claim.is-disabled{
    background:#d7dce6;
    color:#fff !important;
    cursor:not-allowed;
    pointer-events:none;
  }

  /* ---- Empty state ---- */
  .mall-empty{
    display:none;
    background:#fff;
    border-radius:10px;
    box-shadow:var(--shadow);
    text-align:center;
    padding:56px 20px 60px;
  }
  .mall-empty.is-on{ display:block; }
  .mall-empty svg{
    width:46px;
    height:46px;
    stroke:#c3cade;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    margin-bottom:14px;
  }
  .empty-title{
    font:700 19px/1.3 var(--ui);
    color:var(--text);
    margin-bottom:8px;
  }
  .empty-desc{
    font-size:14px;
    color:var(--muted);
    margin:0 0 18px;
  }
  .empty-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 24px;
    border:0;
    border-radius:6px;
    background:var(--ujudi-orange-soft);
    color:#fff;
    font:600 15px/1 var(--ui);
    cursor:pointer;
  }
  .empty-btn:hover{ background:var(--ujudi-orange); }

  /* =========================
      Reward detail view (opens on Learn More / Claim Now)
  ========================= */
  .detail-tpl{ display:none !important; }
  .mall-layout.is-hidden{ display:none; }

  .mall-detail{
    display:none;
    background:#fff;
    border-radius:10px;
    box-shadow:var(--shadow);
    margin:0 16px 32px;
    padding:22px 28px 34px;
  }
  .mall-detail.is-on{ display:block; }

  .d-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:0;
    background:transparent;
    padding:0;
    margin-bottom:18px;
    font:600 14px/1 var(--ui);
    color:var(--muted);
    cursor:pointer;
  }
  .d-back:hover{ color:var(--ujudi-orange2); }
  .d-back i{
    font-style:normal;
    font-size:17px;
    line-height:1;
  }

  .d-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
    gap:44px;
    align-items:start;
  }

  /* ---- media column ---- */
  .d-media{
    display:grid;
    grid-template-columns:84px minmax(0, 1fr);
    gap:20px;
    align-items:start;
  }
  .d-thumbs{ display:grid; gap:10px; }
  .d-thumb{
    width:84px;
    height:84px;
    padding:6px;
    border:1px solid var(--stroke);
    border-radius:4px;
    background:#fff;
    cursor:pointer;
  }
  .d-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
  }
  .d-thumb.is-active{ border-color:var(--ujudi-orange); }

  .d-main{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:400px;
    padding:10px;
  }
  .d-main img{
    max-width:100%;
    max-height:400px;
    object-fit:contain;
    display:block;
  }

  /* ---- info column ---- */
  .d-cat{
    font-size:15px;
    color:var(--muted);
    margin-bottom:10px;
  }
  .d-title{
    font:700 30px/1.25 var(--ui);
    color:var(--text);
    margin:0 0 30px;
  }

  .d-pts-lbl{
    font:500 13.5px/1 var(--ui);
    letter-spacing:1px;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:8px;
  }
  .d-pts{
    display:flex;
    align-items:center;
    gap:9px;
    font:700 30px/1 var(--ui);
    color:var(--ujudi-orange);
  }
  .d-pts img{ width:25px; height:25px; }

  .d-total{
    display:none;
    font-size:13.5px;
    color:var(--muted);
    margin-top:8px;
  }
  .d-total.is-on{ display:block; }
  .d-total b{ color:var(--ujudi-orange2); }

  .d-block{ margin-top:30px; }

  .d-sec-lbl{
    font:700 15px/1.3 var(--ui);
    color:var(--text);
    margin-bottom:8px;
  }
  .d-desc{
    font:400 15px/1.65 var(--ui);
    color:#4b5563;
    margin:0;
  }

  /* ---- quantity ---- */
  .d-qty-row{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
  }
  .d-qty{
    display:inline-flex;
    align-items:center;
    gap:2px;
    background:#f1f3f9;
    border-radius:999px;
    padding:6px;
  }
  .qty-btn{
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:#e2e6f0;
    color:#6b7280;
    font:600 19px/1 var(--ui);
    cursor:pointer;
  }
  .qty-btn:hover:not(:disabled){ background:var(--ujudi-orange); color:#fff; }
  .qty-btn:disabled{ opacity:.45; cursor:not-allowed; }
  .qty-val{
    min-width:46px;
    text-align:center;
    font:600 16px/1 var(--ui);
    color:var(--text);
  }
  .d-stockline{
    font-size:13.5px;
    color:var(--muted);
  }

  /* ---- variation chips ---- */
  .d-var-chips{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }
  .d-chip{
    border:1px solid var(--stroke);
    background:#fff;
    color:#4b5563;
    padding:10px 20px;
    border-radius:4px;
    font:500 14.5px/1 var(--ui);
    cursor:pointer;
    transition:background .15s ease, color .15s ease, border-color .15s ease;
  }
  .d-chip:hover{ border-color:#c9d3ee; }
  .d-chip.is-active{
    background:#9ba3ad;
    border-color:#9ba3ad;
    color:#fff;
  }

  /* ---- detail CTA + delivery ---- */
  .d-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:310px;
    margin-top:32px;
    padding:14px 26px;
    border-radius:6px;
    font:600 16px/1 var(--ui);
    text-decoration:none;
    color:#fff !important;
    background:var(--ujudi-orange);
    transition:background .15s ease, transform .15s ease;
  }
  .d-cta:hover{
    background:var(--ujudi-orange2);
    transform:translateY(-1px);
    text-decoration:none;
  }
  .d-cta.is-disabled{
    background:#d7dce6;
    pointer-events:none;
  }

  .d-delivery-row{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin-top:34px;
  }
  .d-delivery-row svg{
    width:34px;
    height:34px;
    flex:0 0 34px;
    stroke:#6b7280;
    fill:none;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .d-delivery-row .d-sec-lbl{ margin-bottom:4px; }

  /* breadcrumb category becomes a link while a detail is open */
  .mall-crumb b.is-link{
    color:var(--muted);
    font-weight:400;
    cursor:pointer;
  }
  .mall-crumb b.is-link:hover{ color:var(--ujudi-orange2); }

  /* =========================
      Responsive
  ========================= */
  @media (max-width: 1280px){
    .items-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
  }

  @media (max-width: 992px){
    .mall-section-bar{ font-size:18px; padding:14px 16px; }
    .steps-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }

    .tab-item{ padding:15px 12px 13px; font-size:14.5px; }
    .mall-crumb{ font-size:13.5px; padding:14px 16px 12px; }

    .mall-layout{ grid-template-columns:minmax(0, 1fr); gap:16px; }
    .mall-side{ position:static; }
    .items-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .main-title{ font-size:20px; }
    .mall-thumb{ height:170px; }

    .mall-detail{ padding:18px 18px 26px; }
    .d-grid{ grid-template-columns:minmax(0, 1fr); gap:26px; }
    .d-media{ grid-template-columns:minmax(0, 1fr); gap:14px; }
    .d-thumbs{ grid-auto-flow:column; justify-content:start; order:2; }
    .d-main{ order:1; min-height:300px; }
    .d-main img{ max-height:300px; }
    .d-title{ font-size:24px; margin-bottom:22px; }
    .d-pts{ font-size:26px; }
    .d-cta{ min-width:0; width:100%; }
  }

  @media (max-width: 576px){
    .mall-inner{ padding:0 12px 20px; }
    .mall-section-bar{ font-size:16px; padding:12px 12px; margin-bottom:14px; }

    .steps-grid{ gap:10px; margin-bottom:20px; }
    .step-card{ padding:14px 10px 16px; border-radius:12px; }
    .step-top{ gap:8px; margin-bottom:10px; }
    .step-badge{ width:44px; height:44px; flex:0 0 44px; }
    .step-badge img, .step-badge svg{ width:22px; height:22px; }
    .step-step{ font-size:15px; }
    .step-title{ font-size:13px; margin-bottom:4px; }
    .step-desc{ font-size:11.5px; line-height:1.3; }

    .mall-tabs{ padding:0 12px; }
    .tab-item{ padding:14px 10px 12px; font-size:13.5px; }
    .mall-crumb{ padding:12px 12px 10px; font-size:13px; }
    .mall-layout{ padding:0 12px 24px; }

    .side-head{ padding:16px 16px 14px; }
    .side-head-txt{ font-size:16px; }
    .side-body{ padding:0 16px 18px; }

    .main-bar{ flex-wrap:wrap; }
    .mall-search{ flex:1 1 100%; }
    .mall-sortwrap{ flex:1 1 100%; }
    .mall-sort{ flex:1 1 auto; }
    .mall-sort select{ width:100%; min-width:0; height:42px; }
    .search-shell{ height:42px; }

    .items-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
    .mall-thumb-wrap{ padding:16px 12px 8px; }
    .mall-thumb{ height:120px; }
    .mall-body{ padding:4px 12px 16px; }
    .mall-cat-tag{ font-size:9.5px; margin-bottom:6px; }
    .mall-title{ font-size:13.5px; min-height:38px; margin-bottom:10px; }
    .mall-points{ font-size:13.5px; }
    .mall-stock{ font-size:11.5px; margin-bottom:12px; }
    .btn-mall-claim{ min-width:0; width:100%; padding:10px 12px; font-size:13px; }
    .sug-thumb{ width:38px; height:38px; flex:0 0 38px; }

    .mall-detail{ margin:0 12px 24px; padding:16px 14px 24px; }
    .d-title{ font-size:20px; margin-bottom:18px; }
    .d-pts{ font-size:23px; }
    .d-thumb{ width:66px; height:66px; }
    .d-media{ grid-template-columns:minmax(0, 1fr); }
    .d-main{ min-height:230px; }
    .d-main img{ max-height:230px; }
    .d-block{ margin-top:22px; }
    .d-desc{ font-size:14px; }
  }

/* =========================================================
    Additions for the standalone / API-driven build
    (language switcher + loading skeleton). Scoped to .mall-wrap
    so injecting this stylesheet into ujudi.com stays safe.
========================================================= */
.mall-wrap .mall-langbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding:14px 16px 0;
}
.mall-wrap .mall-langs{
  display:inline-flex;
  background:#eef1f8;
  border:1px solid var(--stroke);
  border-radius:999px;
  padding:3px;
  gap:2px;
}
.mall-wrap .lang-btn{
  border:0;
  background:transparent;
  padding:7px 15px;
  border-radius:999px;
  font:700 13px/1 var(--ui);
  color:var(--muted);
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.mall-wrap .lang-btn:hover{ color:var(--text); }
.mall-wrap .lang-btn.is-active{
  background:var(--ujudi-blue);
  color:#fff;
  box-shadow:0 2px 6px rgba(30,64,175,.25);
}

/* Loading state */
.uj-mall-loading{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:340px;
  color:var(--muted);
  font:600 15px/1.4 var(--ui);
}
.uj-mall-spinner{
  width:38px;
  height:38px;
  border-radius:50%;
  border:4px solid var(--stroke);
  border-top-color:var(--ujudi-orange);
  animation:uj-spin .8s linear infinite;
}
@keyframes uj-spin{ to{ transform:rotate(360deg); } }

.uj-mall-error{
  margin:24px 16px;
  padding:18px 20px;
  border:1px solid #f3c6c6;
  background:#fdf3f3;
  color:#b91c1c;
  border-radius:12px;
  font:600 14px/1.5 var(--ui);
}

@media (max-width: 576px){
  .mall-wrap .mall-langbar{ padding:12px 12px 0; }
  .mall-wrap .lang-btn{ padding:6px 12px; font-size:12.5px; }
}
