/* ============================================
   WIDGET: GOLD GRAM PRICE TABLE (Frame 46)
   Today vs Yesterday — per gram comparison
   ============================================ */

/* ---- Outer white card ---- */
.gg-card {
  background-color: #ffffff;
  border: 2px solid #f1f1f1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
}

/* ---- Title ---- */
.gg-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  color: #000000;
  margin: 0;
  width: 100%;
  word-break: break-word;
}

/* ---- Table rows wrapper ---- */
.gg-table-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* ---- Single row (header or data) ---- */
.gg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f6f6f6;
  border-radius: 10px;
  padding-left: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* ---- Gram cell (left label column) ---- */
.gg-row__gram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 1px;
  min-width: 90px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
}

/* Header gram cell */
.gg-row--header .gg-row__gram {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  align-self: stretch;
}

/* ---- Right columns wrapper ---- */
.gg-row__cols {
  display: flex;
  flex: 1;
  gap: 30px;
  align-items: center;
  min-width: 0;
}

/* ---- Individual column cell ---- */
.gg-row__cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
}

/* Header cells */
.gg-row--header .gg-row__cell {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  padding: 13px 10px;
}

/* Changes cell alignment */
.gg-row__cell--changes {
  justify-content: center;
}

/* ---- Change badge ---- */
.gg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.gg-badge--up {
  background-color: #bb0e0e;
  color: #ffffff;
}

.gg-badge--down {
  background-color: #0a6700;
  color: #ffffff;
}

.gg-badge--neutral {
  background-color: #fad369;
  color: #000000;
}

.gg-badge__icon {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

/* ---- Show More button ---- */
.gg-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background-color: #d71920;
  border: none;
  border-radius: 10px;
  font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.gg-show-more:hover {
  background-color: #b5141a;
}

/* ---- Legend ---- */
.gg-legend {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.gg-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
}

.gg-legend__icon {
  font-style: normal;
  font-size: 16px;
}

.widgt-Gram-desiciption {
    width: 100%;
    height: auto;
    margin: 40px 0px;
}

.widgt-Gram-desiciption p{
  color: #000;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 28px; /* 175% */
}

/* ============================================
   RESPONSIVE: Tablet (≤768px)
   ============================================ */
@media (max-width: 768px) {
  .gg-title {
    font-size: 22px;
    line-height: 28px;
  }

  .gg-row__gram,
  .gg-row__cell,
  .gg-row--header .gg-row__cell,
  .gg-row--header .gg-row__gram {
    font-size: 13px;
    padding: 10px 6px;
    line-height: 16px;
    font-weight: 600;
  }

  .gg-row__cols {
    gap: 10px;
  }

  .gg-badge {
    font-size: 14px;
    padding: 2px 8px;
  }

  .gg-legend__item {
    font-size: 16px;
  }
    .gg-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
  }
.gg-card {
        gap: 24px;
    }

    
.widgt-Gram-desiciption {
    margin: 20px 0px;
}
}

/* ============================================
   RESPONSIVE: Mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .gg-card {
    padding: 14px;
   
  }

  .gg-row {
    padding-left: 10px;
  }

  .gg-row__gram {
    min-width: 50px;
    font-size: 14px;
    padding: 10px 2px;
  }


  .gg-row__cell,
  .gg-row--header .gg-row__cell {
    font-size: 13px;
    padding: 10px 4px;
  }

  .gg-row__cols {
    gap: 6px;
  }

  .gg-badge {
    font-size: 12px;
    padding: 2px 6px;
    gap: 3px;
  }

  .gg-legend {
    gap: 12px;
  }

  .gg-legend__item {
    font-size: 14px;
  }

  .gg-show-more {
    font-size: 14px;
    padding: 8px 20px;
  }
}
