/* ===== Smaller Minimal Banner ===== */
.rg-p-banner{
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #111;
}
@media (min-width: 992px){
  .rg-p-banner{ height: 170px; }
}

.rg-p-banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.rg-p-banner-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.25) 100%);
}
.rg-p-banner-content{
  position:absolute; inset:0;
  display:flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 10px;
  color:#fff;
}
.rg-p-banner-kicker{
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(255,255,255,.78);
}
.rg-p-banner-title{
  font-size: 1.6rem;
  font-weight: 900;
  margin: 4px 0 2px;
}
.rg-p-banner-sub{
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}

/* ===== Panels ===== */
.rg-panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 14px;
}
.rg-panel-title{
  font-weight: 900;
  margin-bottom: 10px;
}

/* ===== Series list (left) ===== */
.rg-series-list{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.rg-series-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.rg-series-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 .6rem 1.2rem rgba(0,0,0,.08);
}
.rg-series-item.active{
  border-color: rgba(228,29,45,.55);
  box-shadow: 0 .7rem 1.4rem rgba(228,29,45,.10);
}
.rg-series-thumb{
  width: 46px; height: 46px;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background:#f3f4f6;
  flex: 0 0 auto;
}
.rg-series-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.rg-series-name{
  font-weight: 900;
  line-height: 1.15;
}
.rg-series-desc{
  font-size: .86rem;
  color: rgba(0,0,0,.55);
}

/* ===== Series products strip ===== */
.rg-product-strip{
  display:flex;
  gap: 10px;
  overflow:auto;
  padding-bottom: 4px;
}
.rg-product-item{
  flex: 0 0 auto;
  width: 160px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  background:#fff;
  padding: 10px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.rg-product-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 .6rem 1.2rem rgba(0,0,0,.08);
}
.rg-product-item.active{
  border-color: rgba(228,29,45,.55);
  box-shadow: 0 .7rem 1.4rem rgba(228,29,45,.10);
}
.rg-product-thumb{
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
}
.rg-product-thumb img{
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
}
.rg-product-name{
  font-weight: 900;
  font-size: .92rem;
  margin-top: 8px;
  line-height: 1.2;
}
.rg-product-mini{
  font-size:.78rem;
  color: rgba(0,0,0,.55);
}

/* ===== Detail area ===== */
.rg-detail{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 16px;
}
.rg-detail-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 992px){
  .rg-detail-grid{
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
    gap: 18px;
  }
}

/* Product visual: NO effects */
.rg-prod-plain{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.rg-detail-visual{ height: 320px; }
@media (min-width: 992px){ .rg-detail-visual{ height: 360px; } }

.rg-prod-plain img{
  max-height: 92%;
  max-width: 92%;
  width:auto;
  height:auto;
  object-fit: contain;
}

/* Product text */
.rg-prod-name{ font-weight: 900; margin: 0 0 6px; }
.rg-prod-text{ color: rgba(0,0,0,.62); margin: 0 0 14px; }

/* Nutrition table */
.rg-nutri-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
}
.rg-nutri-head{
  padding: 10px 12px;
  font-weight: 900;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.rg-nutri-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.rg-nutri-table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.rg-nutri-table tr:last-child td{ border-bottom: 0; }
.rg-nutri-k{ color: rgba(0,0,0,.58); }
.rg-nutri-v{ text-align:right; font-weight: 900; }

/* ===== Popular cards ===== */
.rg-pop-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  overflow:hidden;
  height: 100%;
}
.rg-pop-img{
  height: 190px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.rg-pop-img img{
  max-height: 88%;
  max-width: 88%;
  object-fit: contain;
}
.rg-pop-body{ padding: 14px 14px 16px; }
.rg-pop-series{ font-size:.8rem; color: rgba(0,0,0,.55); }
.rg-pop-name{ font-weight: 900; margin: 3px 0 4px; }
.rg-pop-desc{ color: rgba(0,0,0,.60); font-size: .95rem; margin: 0; }
