*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial,"Cairo",sans-serif;
  background:
    radial-gradient(circle at top right, rgba(216,196,135,.20), transparent 36%),
    linear-gradient(180deg,#f6faf8,#eef5f1);
  color:#063b34;
}
.prices-shell{
  width:min(1120px,100%);
  margin:0 auto;
  padding:16px;
}
.prices-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  background:linear-gradient(145deg,#063b34,#0a5a50);
  color:white;
  border-radius:28px;
  padding:18px;
  box-shadow:0 16px 42px rgba(0,35,30,.16);
  margin-bottom:16px;
}
.prices-head span{
  display:inline-flex;
  background:rgba(216,196,135,.18);
  color:#d8c487;
  border:1px solid rgba(216,196,135,.35);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
}
.prices-head h1{
  margin:8px 0 4px;
  font-size:24px;
  font-weight:900;
}
.prices-head p{
  margin:0;
  color:#e7f1ee;
  font-weight:800;
}
.back,.source-card a{
  text-decoration:none;
  background:#d8c487;
  color:#063b34;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  white-space:nowrap;
}
.source-card,.prices-update{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid rgba(6,59,52,.09);
  border-radius:24px;
  padding:14px 16px;
  box-shadow:0 12px 30px rgba(0,35,30,.07);
  margin-bottom:14px;
}
.source-card b,.prices-update b{
  display:block;
  color:#063b34;
  font-weight:900;
}
.source-card span,.prices-update span{
  color:#667085;
  font-weight:800;
}
.prices-update button{
  border:0;
  background:#063b34;
  color:#d8c487;
  border-radius:16px;
  padding:11px 14px;
  font-weight:900;
  cursor:pointer;
}
.prices-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.price-card{
  background:linear-gradient(145deg,#ffffff,#f8fbfa);
  border:1px solid rgba(6,59,52,.09);
  border-radius:24px;
  padding:16px;
  box-shadow:0 12px 30px rgba(0,35,30,.075);
  position:relative;
  overflow:hidden;
  min-height:150px;
}
.price-card:before{
  content:"";
  position:absolute;
  inset:auto -35px -40px auto;
  width:100px;
  height:100px;
  border-radius:50%;
  background:rgba(216,196,135,.16);
}
.price-cat{
  display:inline-flex;
  background:#eef7f4;
  color:#063b34;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}
.price-card h3{
  margin:12px 0 8px;
  font-size:17px;
  font-weight:900;
  color:#063b34;
  line-height:1.5;
}
.price-value{
  font-size:26px;
  font-weight:900;
  color:#063b34;
}
.price-unit{
  color:#667085;
  font-size:12px;
  font-weight:900;
  margin-top:4px;
}
.price-note{
  margin-top:10px;
  color:#667085;
  font-size:12px;
  font-weight:800;
}
.loading,.empty{
  background:#fff;
  border:1px solid rgba(6,59,52,.09);
  border-radius:22px;
  padding:18px;
  font-weight:900;
  color:#667085;
  text-align:center;
}
@media(max-width:800px){
  .prices-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .prices-head,.source-card,.prices-update{
    align-items:flex-start;
    flex-direction:column-reverse;
    border-radius:22px;
  }
  .prices-grid{grid-template-columns:1fr}
}

/* ===== Old Prices API Gold Polish ===== */
.price-card.gold-card{
  border-color:rgba(216,196,135,.55);
  background:
    radial-gradient(circle at 12% 18%, rgba(216,196,135,.22), transparent 32%),
    linear-gradient(145deg,#ffffff,#fffdf5);
}

.price-card.gold-card .price-cat{
  background:#fff7df;
  color:#745b15;
}

/* ===== Market Beautiful Emojis ===== */
.price-card{
  padding-top:18px;
}

.price-emoji{
  width:48px;
  height:48px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:25px;
  background:linear-gradient(145deg,#f3faf7,#ffffff);
  border:1px solid rgba(6,59,52,.10);
  box-shadow:0 10px 24px rgba(0,35,30,.08);
  margin-bottom:10px;
}

.price-card.gold-card .price-emoji{
  background:linear-gradient(145deg,#fff7df,#ffffff);
  border-color:rgba(216,196,135,.55);
  box-shadow:0 10px 24px rgba(116,91,21,.10);
}

.price-value{
  display:flex;
  align-items:center;
  gap:7px;
}

.price-value span{
  font-size:18px;
}

.price-cat{
  gap:4px;
}

.prices-head h1{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.source-card a,
.prices-update button,
.back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
