:root {
  --rc-blue: #005be7;     /* eMAG blue */
  --rc-blue-dark: #0646a4;
  --rc-gray: #f5f6fa;
  --rc-border: #e5eaf1;
  --rc-hover: #eaf1fb;
  --rc-txt: #23272f;
  --rc-accent: #ff4336;   /* eMAG red for promo */
  --rc-radius: 11px;
  --rc-shadow: 0 2px 18px #005be713;
  --rc-font: 'Inter', Arial, sans-serif;
}

/* -- General -- */
body {
  background: var(--rc-gray);
  font-family: var(--rc-font);
  color: var(--rc-txt);
  margin: 0; padding: 0;
}
a { color: var(--rc-blue); text-decoration: none; transition: color 0.13s; }
a:hover { color: var(--rc-blue-dark); }

/* -- HEADER eMAG like -- */
.rc-header {
  background: var(--rc-blue);
  color: #fff;
  padding: 18px 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--rc-shadow);
}
.rc-header .rc-logo {
  margin-left: 40px;
  font-size: 2em;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2.5px;
}
.rc-header .rc-mainmenu {
  display: flex;
  gap: 25px;
  margin-left: 60px;
}
.rc-header .rc-mainmenu a {
  color: #fff;
  font-weight: 500;
  background: none;
  padding: 8px 18px;
  border-radius: var(--rc-radius);
  font-size: 1.09em;
  transition: background 0.14s, color 0.14s;
}
.rc-header .rc-mainmenu a.active,
.rc-header .rc-mainmenu a:hover {
  background: var(--rc-hover);
  color: var(--rc-blue);
}
.rc-header .rc-btn {
  background: #fff;
  color: var(--rc-blue);
  border: none;
  padding: 9px 24px;
  border-radius: var(--rc-radius);
  font-weight: 700;
  margin-right: 40px;
  font-size: 1em;
  box-shadow: 0 2px 7px #005be71c;
  cursor: pointer;
  transition: background 0.12s, color 0.13s;
}
.rc-header .rc-btn:hover {
  background: var(--rc-accent);
  color: #fff;
}

/* -- Sidebar Categorie -- */
.rc-sidebar {
  background: #fff;
  border-radius: var(--rc-radius);
  box-shadow: 0 2px 10px #005be70c;
  padding: 24px 20px 22px 20px;
  margin: 40px 0 40px 40px;
  min-width: 220px;
}
.rc-sidebar h3 {
  margin-top: 0; margin-bottom: 18px;
  color: var(--rc-blue);
  font-weight: 700;
  font-size: 1.23em;
}
.rc-sidebar ul {
  list-style: none;
  padding: 0; margin: 0;
}
.rc-sidebar li {
  margin-bottom: 11px;
}
.rc-sidebar a {
  color: var(--rc-txt);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 7px;
  display: block;
  transition: background 0.12s, color 0.12s;
}
.rc-sidebar a:hover, .rc-sidebar a.active {
  background: var(--rc-hover);
  color: var(--rc-blue);
}

/* -- Layout Row -- */
.rc-content-flex {
  display: flex;
  gap: 40px;
}

/* -- Card Produs -- */
.rc-products {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(226px, 1fr));
  gap: 32px 28px;
  margin: 36px 40px 36px 0;
}
.rc-card {
  border-radius: var(--rc-radius);
  background: #fff;
  box-shadow: 0 4px 24px #005be711;
  border: 1px solid var(--rc-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.13s, transform 0.13s;
  position: relative;
}
.rc-card:hover {
  box-shadow: 0 8px 46px #ff433626;
  transform: translateY(-3px) scale(1.02);
}
.rc-card-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f8fafd;
  border-bottom: 1.5px solid var(--rc-border);
}
.rc-card-body {
  padding: 19px 16px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rc-card-title {
  color: var(--rc-blue-dark);
  font-weight: 700;
  font-size: 1.13em;
  min-height: 48px;
  margin-bottom: 7px;
}
.rc-card-price {
  color: var(--rc-accent);
  font-size: 1.23em;
  font-weight: 700;
  margin-bottom: 12px;
}
.rc-card-btn {
  background: var(--rc-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.13s;
  box-shadow: 0 2px 10px #005be722;
}
.rc-card-btn:hover {
  background: var(--rc-accent);
  color: #fff;
}

/* -- Promo Badge -- */
.rc-card-badge {
  position: absolute;
  top: 16px; left: 14px;
  background: var(--rc-accent);
  color: #fff;
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 19px;
  font-size: 0.98em;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 8px #ff433666;
}

/* -- Footer -- */
.rc-footer {
  background: #23293a;
  color: #f8fafd;
  text-align: center;
  border-radius: 0 0 var(--rc-radius) var(--rc-radius);
  padding: 28px 12px;
  font-size: 1.15em;
  margin-top: 82px;
}

/* -- Responsive -- */
@media (max-width: 1100px) {
  .rc-content-flex { flex-direction: column; gap: 0; }
  .rc-sidebar, .rc-products { margin: 24px 12px; }
}
@media (max-width: 700px) {
  .rc-header { flex-direction: column; gap: 12px; }
  .rc-header .rc-logo, .rc-header .rc-mainmenu, .rc-header .rc-btn { margin: 0; }
  .rc-content-flex { flex-direction: column; }
  .rc-sidebar, .rc-products { margin: 14px 4vw; }
  .rc-products { grid-template-columns: 1fr; gap: 18px 0; }
}